-
Puzzle-cPP
说明: 自己写的拼图游戏,vs2008,附带音乐和鼠标点击音乐(Write your own jigsaw puzzle, vs2008, incidental music and music mouse clicks)
- 2011-04-06 15:20:05下载
- 积分: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
-
e
说明: 基于python的俄罗斯方块小游戏,有详细的代码解释,是用pyqt写的。(A little game of Tetris based on Python,There is a detailed code explanation, which is written in pyqt.)
- 2020-06-08 16:53:03下载
- 积分:1
-
Game
猜拳小游戏,能够很好的模拟猜拳游戏的过程。(Finger-guessing game, can simulate the process of finger-guessing game.)
- 2013-05-16 13:11:04下载
- 积分:1
-
SingleNumber
找出只出现一次的数字,其他数字均出现了2次,时间空间尽量少(Identify only appears once, while other figures have appeared two times to minimize time and space)
- 2013-10-24 09:01:25下载
- 积分:1
-
SuperMario
自己编写的java版本的类超级玛丽游戏,内含两个关卡,并保证所有的元素尽可能出现一次;源代码的注释比较详细(I have written the java version of class Super Mario game, containing the two checkpoints, and to ensure that all the elements as much as possible once source code comment in more detail)
- 2012-07-08 16:46:12下载
- 积分:1
-
java_fangkuai
俄罗斯方块经典款,用java语言编写。。(Tetris classic, java prepared.)
- 2013-09-03 21:52:49下载
- 积分:1
-
sdk_jyt
说明: 用SDK写的劲乐团游戏
对学SDK很有帮助(using the SDK to write strong game Orchestra SDK helpful for school)
- 2006-04-12 20:14:38下载
- 积分:1
-
youxi
可以做出多款游戏,有接钢镚,猜拳,坦克大战等小游戏,只要手机支持java,就可以(Can make a variety of games, there is then steel Beng, mora, Battle and other small game, as long as the phone supports java, you can)
- 2011-06-19 22:56:39下载
- 积分:1
-
rf
说明: c#俄罗斯方块 功能比较简单 但是代码也很少(c# Tetris function is relatively simple but the code is rarely)
- 2013-06-15 00:27:27下载
- 积分:1