-
八皇后的图形界面程序,c语言编写。
八皇后的图形界面程序,c语言编写。-eight Queen"s graphical interface procedures, c languages.
- 2022-07-16 16:18:36下载
- 积分:1
-
使用解码图像从数组,我们可以做很多想想它的
#include < iostream.h >
#include < stdio.h >
#include < string.h >
结构点头
{
名称 char [10] ;
int 的时间 ;
int 等 ;
} 节点 [10],x;
int n,m ;
双 av,w = 0 ;
void sort)
{
int i、 j ;
为 (我 = 0 ; 我 < n-1 ; + + 我)
为 (j = i + 1; j < n; + + j)
{
如果 (节点 [i] 时间 > node[j].time)
{
x = 节点 [i] ;
节点 [i] = 节点 [j] ;
节点 [j] = x;
}
}
}
void read)
{
int i;
cout n;
为 (我 = 0 ; 我 < n; + + 我)
{
cout 节点 [i].name ;
cout 时间节点 [i] ;
}
}
void print)
{
int i;
cout
- 2023-03-08 09:10:03下载
- 积分:1
-
动态创建控件实例,演示如何动态创建和删除控件
动态创建控件实例,演示如何动态创建和删除控件-Examples of dynamically created controls, demonstrate how to dynamically create and delete controls
- 2022-04-19 16:59:09下载
- 积分:1
-
Access database based on the route search system, site, line, change the search...
基于Access数据库的路线查寻系统,实现站点,路线,换乘查寻等功能-Access database based on the route search system, site, line, change the search functions
- 2022-11-22 08:55:03下载
- 积分:1
-
libcurl里面的所有例子
官网上所有的libcurl的例子,可以拿来学习libcur库的使用,或者当参考,包括了 http-post,http-get,ftp,smtp等功能,非常详细。
- 2022-12-16 08:50:03下载
- 积分:1
-
source of embed ole object control
source of embed ole object control
- 2022-03-12 06:32:10下载
- 积分:1
-
算法实现题7
算法实现题7-60 战马问题
« 问题描述:
按照国际象棋的规则,在位置(0,0)处的马可以跳到位置(1,2),(1 ,-2),(-1,2),
(-1,-2),(2,1),(2,-1),(-2,1),(-2,-1)处。战马问题中的战马具有更一般的跳跃
能力。位置(0,0)处的战马每次可以跳到k 个位置x y i k i i ( , ),1 £ £ ,中的一个位置。战
马问题要求确定给定的战马能否跳遍无限大的棋盘上的每个位置。
« 编程任务:
对于给定的战马问题中战马的跳跃能力。确定战马能否跳遍无限大棋盘上的每个位置。
« 数据输入:
由文件input.txt给出输入数据。第1 行有1个正整数k,表示位置(0,0)处的战马每
次可以跳到k个位置。接下来的k行,每行有2个整数,表示战马的跳跃位置。
« 结果输出:
将计算结果输出到文件output.txt。给定的战马能跳遍棋盘上的每个位置时输出“Yes”,
否则输出“No”。
输入文件示例 输出文件示例
input.txt output.txt
3
1 0
0 1
-2 -1
Yes
- 2022-01-27 16:50:13下载
- 积分:1
-
基于c语言开发的40KHz超声波产生与发射程序,适用于51系列单片机...
基于c语言开发的40KHz超声波产生与发射程序,适用于51系列单片机-C-based languages have developed and launched 40KHz ultrasonic procedures, applicable to 51 Series Single Chip
- 2022-03-12 23:02:54下载
- 积分:1
-
mp3编码器,把wav等格式文件转换为mp3
mp3编码器,把wav等格式文件转换为mp3-mp3 encoder,transfer*.wave to mp3
- 2022-06-26 15:06:17下载
- 积分:1
-
below the date box Enter the date should be set up, click on "Settings opti...
在下面的年月日框中填入应设置的日期,点击“设置选择日期”,则上面日历的对应日期将以蓝色显示,再点击“设置当前日期”,则上面日历的对应日期将以红色线围圈,以示日期设置成功。-below the date box Enter the date should be set up, click on "Settings option date", above the corresponding calendar date will be blue, then click on "Set the current date", above the corresponding calendar date will be sitting in a circle in red line to show the date a success.
- 2022-05-19 03:29:48下载
- 积分:1