-
基于python的小游戏
基于python的二人小游戏,可在闲暇之时用于打发时间,操作简单,易于上手,本程序源码来自于书籍,
- 2022-03-19 15:25:28下载
- 积分: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
-
a CLIST editing category examples, very easy to understand, look at the federal...
一个可编辑的CLIST类的实例,非常的通俗易懂,拿回去看看吧-a CLIST editing category examples, very easy to understand, look at the federal Look here
- 2022-01-26 14:05:28下载
- 积分:1
-
磁盘克隆
资源描述使用Win32的API读写卷扇区实现磁盘克隆,对于无法使用API打开的卷,使用驱动进行打开。
- 2022-04-27 21:48:19下载
- 积分:1
-
Windows CE开发初步,wince入门必读资料
Windows CE开发初步,wince入门必读资料-Windows CE to develop the initial, wince data entry reading
- 2022-02-26 23:07:35下载
- 积分:1
-
C语言编程的一些例子《C语言课程设计案例精编》源代码
C语言编程的一些例子《C语言课程设计案例精编》源代码-C programming language are some examples of the "C language curriculum design case precision-made" source code
- 2022-03-05 09:25:15下载
- 积分:1
-
Programming Role Playing Games with DirectX 2nd edition第一章的shell修正版
游戏界的天才少年Jim Adams的《Programming Role Playing Games with DirectX (2nd edition)》第一章的框架程序(shell)的修正版,
能够适用各种字符集。
- 2022-05-21 06:44:47下载
- 积分:1
-
Windows Mobile 平台应用开发一书所带示例源代码
Windows Mobile 平台应用开发一书所带示例源代码-Windows Mobile application development platform, the book brought the example source code
- 2023-03-13 15:30:05下载
- 积分:1
-
TCP/IP在单片机51下的移植,完成网络通讯,希望对做网络的通讯的有帮助...
TCP/IP在单片机51下的移植,完成网络通讯,希望对做网络的通讯的有帮助-TCP/IP in the single-chip 51 under the transplantation, the completion of network communications, would like to make network communications have helped
- 2022-05-20 23:35:20下载
- 积分:1
-
该计算器是弥补Windows系统“科学型计算器Microsoft((R)_R5.1”功能的不足。专门用来进行两个复数的加、减、乘、除与取反(共轭)计算。用del...
该计算器是弥补Windows系统“科学型计算器Microsoft((R)_R5.1”功能的不足。专门用来进行两个复数的加、减、乘、除与取反(共轭)计算。用delphi 7 编写。
双击应用程序:Calculate.exe 即打开复数计算器窗口。
-Calculator is the Windows system to make up for "science-based Microsoft Calculator ((R) _R5.1 "functional deficiencies. two devoted to the increase in the plural, subtraction, multiplication, Except for the anti- (conjugate) basis. prepared with delphi 7. Double-click application : Calculate.exe that is the plural Calculator window open.
- 2022-08-19 13:44:44下载
- 积分:1