-
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
-
c
说明:
时间函数举例4,一个猜数游戏,判断一个人反应快慢(Function of time for example 4, a guessing game to determine the speed of a reaction)
- 2011-07-18 09:25:16下载
- 积分:1
-
Snake_Source100802
贪吃蛇
利用屏幕的左右单击控制方向。(Snake using the left and right click control the direction of the screen.)
- 2010-08-02 10:13:09下载
- 积分:1
-
魔兽世界模型观察器 wowmodelview-0.48e
魔兽世界模型观察器
魔兽世界模型察看器4.8e(含源码) [9M](World of Warcraft World of Warcraft model viewer Model View browser 4.8e (with source) [9M])
- 2020-06-26 03:00:02下载
- 积分: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
-
Classicgamessource
说明: 用C编写的经典游戏程序源码(有俄罗斯方块、贪吃蛇、推箱子等)(Classic games source by C)
- 2010-04-18 08:00:45下载
- 积分:1
-
snake2
说明: 这是三维贪吃蛇小游戏,在一个空间曲面上爬行,比较难操作(This is a 3D Snake game that crawls on a spatial surface and it is difficult to control.)
- 2020-06-21 10:20:02下载
- 积分:1
-
Minesweeper-game
用C++编的一个扫地雷游戏,代码清晰,有注释(A Minesweeper game C++ compiled, the code is clear, Notes)
- 2012-10-17 21:04:09下载
- 积分:1
-
4375485466
QQ玫瑰小镇辅助工具,游戏编程源码,很好的参考资料。有需要的就下载吧。(QQ rose town of auxiliary tools, game programming source code, a good reference. There is a need to download it.)
- 2013-10-09 11:52:55下载
- 积分: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