-
nextnanao software program, based on Fortron prepared computable energy band str...
nextnanao软件程序,基于FORTRON编写,可计算材料的能带结构等信息-nextnanao software program, based on Fortron prepared computable energy band structure of materials and other information
- 2022-02-05 07:07:14下载
- 积分: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
-
Sound recording, easy language source code, easy language for beginners for refe...
录音,易语言源码,仅供易语言初学者参考。-Sound recording, easy language source code, easy language for beginners for reference purposes only.
- 2022-07-20 13:01:07下载
- 积分:1
-
WTL例子
WTL例子-WTL example
- 2022-04-30 07:31:16下载
- 积分:1
-
自己写的进程调度中时间片轮转算法实现程序
自己写的进程调度中时间片轮转算法实现程序-himself in the process-time scheduling algorithm procedures Web
- 2022-03-24 03:01:44下载
- 积分:1
-
operation task bar the source code examples. Hide task bar, hidden tray of arbit...
操作任务栏的源代码示例. 可以隐藏任务栏,隐藏托盘里的任意项. 在Windows2000,WinXP下测试通过-operation task bar the source code examples. Hide task bar, hidden tray of arbitrary items. In Windows 2000, under the test WinXP
- 2023-06-19 19:40:04下载
- 积分:1
-
通过模拟按键winIO接口的信息,其中有驱动的使用…
模拟按键 信息通过winio接口实现,里面有驱动源码 和 使用例子-Information through the analog button winio interface, which has driven the use of source and example
- 2022-03-20 16:12:40下载
- 积分:1
-
VB混音代码,好好用的
VB混音代码,好好用的-VB code, properly used
- 2022-08-05 11:42:32下载
- 积分:1
-
多媒体播放方面的实用例子程序,用visual C++实现
多媒体播放方面的实用例子程序,用visual C++实现-the program for muti-media,It‘s very useful
- 2022-02-27 03:51:50下载
- 积分:1
-
331 games. Very classic, but there are some functional deficiencies, and that ne...
五子棋联网游戏。很经典的,不过还有一些功能上的不足,这是需要改进的地方。-331 games. Very classic, but there are some functional deficiencies, and that needs improvement.
- 2022-05-07 17:13:07下载
- 积分:1