-
贪吃蛇
贪吃蛇游戏,用C#编写的程序。我也是从csdn上面下载来的。(Snake game, written with C# program. I downloaded it from CSDN too.)
- 2017-11-08 11:06:24下载
- 积分:1
-
MY-Project
俄罗斯方块游戏的c++简单实现,参考学习很有价值(Tetris game c++ simple realization, learning valuable reference)
- 2013-09-09 09:51:59下载
- 积分:1
-
Snake-source-code
本程序是一个贪吃蛇的程序,可以实现贪吃蛇游戏的基本功能(This program is a Snake' s program, you can achieve the basic functions of the Snake game)
- 2013-03-04 16:31:24下载
- 积分:1
-
snake_c
贪吃蛇游戏的c代码,适合初学者对了解一下程序结构(Snake game c code, is suitable for beginners to learn about the program structure)
- 2012-05-09 11:03:40下载
- 积分:1
-
MAZE_Q_LEARNING
说明: 利用Q学习进行迷宫路径选择,完成简单的强化学习任务(use Q_learning to play maze game)
- 2019-04-04 15:13:07下载
- 积分:1
-
MySnake
J2ME手机游戏贪吃蛇源码,开发环境eclipse及eclipseme加WTK,windows xp操作系统。(J2ME mobile phone game Snake the source code, development the environment eclipse and eclipseme of plus The WTK windows xp operating system.)
- 2012-05-24 10:13:36下载
- 积分:1
-
LabTest2
黑杰克學校測驗題,從裡面的碼發展出整個遊戲(Black Jack school quiz, from the inside out the entire game code development)
- 2013-08-03 07:37:33下载
- 积分:1
-
vhdl5
program for half subtractor.
- 2009-10-02 16:10:13下载
- 积分:1
-
poly
标题: 多边形游戏
时 限: 1000 ms
内存限制: 10000 K
总时限: 3000 ms
描述: 多边形游戏是一个单人玩的游戏,开始时有一个由n个顶点构成的多边形。每个顶点被赋予一个整数值,每条边被赋予一个运算符“+”或“*”。所有边依次用整数从1到n编号。
游戏第1步,将一条边删除。
随后n-1步按以下方式操作:
(1)选择一条边E以及由E连接着的2个顶点V1和V2;
(2)用一个新的顶点取代边E以及由E连接着的2个顶点V1和V2。将由顶点V1和V2的整数值通过边E上的运算得到的结果赋予新顶点。
最后,所有边都被删除,游戏结束。游戏的得分就是所剩顶点上的整数值。
输入: 输入共两行,第一行一个整数n表示顶点个数,第二行共2*n个数,分别为数字和字符。
例如:对于上图中的问题,我们可以这样按输入样例中的例子输入,数学中的“+”号代表加法,小写字母“x”代表乘法。
输出: 一个整数,计算最高得分。
输入样例: 5
10 + -1 x -2 x 3 + -8 x
输出样例: 486
(标题: 多边形游戏
时 限: 1000 ms
内存限制: 10000 K
总时限: 3000 ms
描述: 多边形游戏是一个单人玩的游戏,开始时有一个由n个顶点构成的多边形。每个顶点被赋予一个整数值,每条边被赋予一个运算符“+”或“*”。所有边依次用整数从1到n编号。
游戏第1步,将一条边删除。
随后n-1步按以下方式操作:
(1)选择一条边E以及由E连接着的2个顶点V1和V2;
(2)用一个新的顶点取代边E以及由E连接着的2个顶点V1和V2。将由顶点V1和V2的整数值通过边E上的运算得到的结果赋予新顶点。
最后,所有边都被删除,游戏结束。游戏的得分就是所剩顶点上的整数值。
输入: 输入共两行,第一行一个整数n表示顶点个数,第二行共2*n个数,分别为数字和字符。
例如:对于上图中的问题,我们可以这样按输入样例中的例子输入,数学中的“+”号代表加法,小写字母“x”代表乘法。
输出: 一个整数,计算最高得分。
输入样例: 5
10+-1 x-2 x 3+-8 x
输出样例: 486
)
- 2012-12-17 10:35:16下载
- 积分:1
-
2
说明: Background
Given a set of rectangles {R1, R2, …, Rn}, compute the area of their common intersection. i.e.,
Area(R1∩R2∩…∩Rn)
The edges of the rectangles R1, R2, …, Rn, are either vertical or horizontal lines.
For example, the intersection of 4 rectangles, R1, R2, R3, and R4, in the following figure is the shaded rectangle.
Input
The input contains (N + 1) lines. The first line specifies the number of rectangles N, where 1 < N < 1000. Since the sides of the rectangles are parallel to the x-axis and y-axis, each rectangle is bounded by the lines x = x1, x = x2, y = y1 and y = y2 and each subsequent line of the input file thus specifies one rectangle in the following format:
x1 x2 y1 y2
such that 0 <= x1 < x2 <= 10000 and 0 <= y1 < y2 <= 10000, and x1, x2, y1 and y2 are integers.
Output
The output file contains the area of the intersection of all the rectangles.
- 2013-11-15 02:58:38下载
- 积分:1