-
RunningMatchmen
火柴人的跳跃和滚动 按s滚动躲避障碍 按w跳跃躲避障碍(Stickman jumping and rolling)
- 2013-12-12 20:24:23下载
- 积分: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
-
Civil_Game
Civilization Game Source Code in C++
- 2009-11-14 17:26:08下载
- 积分:1
-
games
小精灵游戏,C++的课程设计的作业。关于游戏的初步学习(little games of a small program )
- 2020-07-04 16:20:02下载
- 积分:1
-
tanshishezhidongfangbubai
这是一款具有登入和注册的贪吃蛇,而且有特效果实,增加了游戏的趣味性(This is a login and registration Snake)
- 2012-10-24 08:48:34下载
- 积分:1
-
MapEditor_bate
说明: 一个游戏开发能用到的地图编辑器项目完整代码,既可以研究学习也可以使用他开发RPG游戏(Game developers can use a map editor to project a complete code, we can study to learn he can also use the development of RPG games)
- 2008-10-29 16:19:37下载
- 积分:1
-
zhongguoxiangqiCPP
c语言版本中国象棋,完美实现经典象棋的c语言程序源代码。(c language version of Chinese chess, the perfect realization of the classic chess c language program source code.)
- 2013-09-29 16:14:03下载
- 积分:1
-
tanchishe
一个简单的贪吃蛇,希望多初学者有点帮助,就用了for循环写的(A simple snake, hope to beginners a little help, the program only used for the cycle to write)
- 2017-04-19 18:58:22下载
- 积分:1
-
5673634656
VB简单弹球游戏源代码,有需要的就下载吧,很好的参考。(VB simple pinball game source code, there is need to download it, very good reference.)
- 2013-08-17 10:19:05下载
- 积分:1
-
Solution1
用vb.net做的大富翁,a Console Application that models the game of Monopoly.Houses • Hotels • Rolling doubles • Players will not be allowed to sell properties once purchased. • Players may mortgage a property but it will remain mortgaged for the rest of the game. • No one will ever go to jail.(vb.net do with the millionaires, a Console Application models that the game of Monopoly.Houses Hotels## 8226 8226 8226 Rolling doubles# Players will not be allowed to sell properties once purchased.# 8226 Players may mortgage a property but it will remain mortgaged for the rest of the game.# 8226 No one will ever go to jail.)
- 2005-04-23 07:33:09下载
- 积分:1