-
cun-book-also
这是一个关于汉诺塔的书机,大家凑活用用,还可以(This is a book on Hanoi machine, chip in use to use, can also)
- 2017-03-30 15:03:50下载
- 积分: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
-
GameBall
弹球游戏,利用滑块移动碰撞弹球,使探球弹起碰撞商贩的滑块来赢得分数。(a game of ball ,ball and slider game,you can move the slider to collide the ball ,ball can move also to collide sliders where above the first slider.)
- 2012-03-19 16:32:26下载
- 积分:1
-
vs
说明: 类似于vs,浩方对战平台源码,仿写的一个平台程序(Similar to a platform for program vs. ho war platform source, Imitative)
- 2012-06-25 17:33:52下载
- 积分: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
-
sudoku_Csharp
用C#.net编写的数独小游戏,界面美观,可随机生成游戏和求解。(With C#. Net Sudoku game written in beautiful interface, can be randomly generated games and solving.)
- 2009-09-07 13:56:21下载
- 积分:1
-
TheTetrisGame
经典游戏俄罗斯方块的一种简单实现,支持玩家信息的保存和统计。(A classic game of Tetris simple implementation, support the players the preservation of information and statistics.)
- 2013-09-11 14:46:11下载
- 积分:1
-
tanshishezhidongfangbubai
这是一款具有登入和注册的贪吃蛇,而且有特效果实,增加了游戏的趣味性(This is a login and registration Snake)
- 2012-10-24 08:48:34下载
- 积分:1
-
redblack
红黑棋游戏 在VC上可直接运行 不过要注意设置图片路径(Red Black game on the VC can be run directly but to pay attention to set the picture path)
- 2012-07-09 10:08:40下载
- 积分:1
-
tutorial14(2)
一个win32 系统下 game tile map 的实现方法(A win32 system game tile map of the Implementation)
- 2011-02-08 03:58:58下载
- 积分:1