-
Tetris
简单实现俄罗斯方块的源代码,使用C++编写,基于cocos2d-x 3.0alpha1编写(Simple implementation of Tetris source code)
- 2015-03-05 11:06:12下载
- 积分:1
-
saiche
简单的赛车游戏,在游戏中可以实现加速、减速和换道。游戏中尽量躲避障碍,一共有5次生命。(Simple racing game, the game can achieve acceleration, deceleration and lane changing Try to avoid obstacles in the game, a total of five times the life.)
- 2012-11-01 13:49:47下载
- 积分:1
-
LLKWord
好看、好玩的连连看背单词程序,用C#实现
(Good-looking, fun word back Lianliankan procedures, using C# to achieve)
- 2009-06-08 00:40:35下载
- 积分:1
-
guessing-game
用c语言写的猜数字游戏,源码共享给大家,方便大家学习!(A guessing game in C programming language; there is the source code for everyone to share and facilitate learning!)
- 2013-06-04 15:54:52下载
- 积分: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
-
24Points
24点游戏,找出所有解。给任意4个数,该程序能找出所有通过加,减,乘,除,括号算出24结果的算式。(24-point game, find all solutions. To any four numbers, the program can identify all through add, subtract, multiply, divide, calculate 24 results parentheses formula.)
- 2013-08-19 12:02:21下载
- 积分:1
-
WarCrafe
一个基于Wind32的游戏实例,对于学习和运用c++ 编写游戏是一个很好的参考(A game based Win32 and it is useful for you study the game programming)
- 2011-05-26 07:42:28下载
- 积分:1
-
ShowRubyCube
魔方,供大家学习交流!里面有详细的注解,方便学习使用!(Rubik s cube, for everybody to learn communication!There is a detailed comments, convenient and learn to use!)
- 2016-02-29 16:51:13下载
- 积分:1
-
GAME
程序产生一个随机数,游戏者输入数据进行猜测。治理员可输入密码,其中普通治理员只能获得答案,超级治理员获得答案并能修改普通治理员密码(Program generates a random number, the player to guess the input data. Administrator can enter a password, which the general administrator can only get answers, get answers and super administrator can modify the general administrator password)
- 2013-08-29 11:37:36下载
- 积分: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