-
Screen4444
手机版的俄罗斯方块程序 休闲内的手机游戏(mobile version of russia block game.which is leisure mobile game.)
- 2005-08-01 16:34:08下载
- 积分:1
-
LabTest2
黑杰克學校測驗題,從裡面的碼發展出整個遊戲(Black Jack school quiz, from the inside out the entire game code development)
- 2013-08-03 07:37:33下载
- 积分:1
-
SnakeGame
一个完全用C语言实现的贪吃蛇游戏,在TC环境下运行!对于初学C的同志,写个小游戏无疑是打基础的好方法,同时也提高自己对编程的兴趣!(A Snake game entirely in C language to run in the TC environment! Beginner C comrades to write a small game is undoubtedly a good way to lay the foundation, but also improve their own interest in programming!)
- 2013-04-27 09:52:37下载
- 积分:1
-
Cube
java写的简单的魔方,可用鼠标拖动,代码简单易用(a java simple grogram )
- 2011-05-11 17:51:59下载
- 积分:1
-
zoumigong
用VC++设计的一个走迷宫的小游戏,界面显示,用键盘控制人物走动(Designed with a maze of VC Games,Interface display, using the keyboard to control the characters move)
- 2011-12-06 16:47:55下载
- 积分:1
-
贪吃蛇
说明: 贪吃蛇游戏的Java文件,class文件和讲解,他能增长,吃食物,碰到石头会死亡。(The Code and Explanation of Snake Eating)
- 2020-06-21 11:20:02下载
- 积分:1
-
OpenMahjong-V3.1
mahjong game. you can take a look of it. it is a zip file you have to unzip it.(this is a mahjong game.you can take a look)
- 2013-02-04 00:38:42下载
- 积分:1
-
vhdl5
program for half subtractor.
- 2009-10-02 16:10:13下载
- 积分:1
-
greedy-snake
vs用c#语言编写的贪吃蛇小程序,可以拿来学习c#(vs c# language with Snake small program that can be used to learn c#)
- 2013-07-17 17:48:41下载
- 积分: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