登录
首页 » Pascal » 2

2

于 2013-11-15 发布 文件大小:1KB
0 145
下载积分: 1 下载次数: 1

代码说明:

  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

文件列表:

2.txt,443,2013-11-15
2_rectangle.txt,902,2013-11-15

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 209
    代码虽简短,游戏很有趣。文档易于下载运行程序。(Although brief, the code, the game is very interesting. Document easy to download and run the program.)
    2012-10-29 17:41:22下载
    积分:1
  • ItcastTetris
    一个小型的俄罗斯方块游戏,初学java编的,不足处望提出建议(A small game tetris, beginners Java, insufficient place at advice)
    2013-09-03 13:18:42下载
    积分:1
  • vb
    说明:  一个用VB写的一个吃豆子游戏。。界面没有过多的美化。。 。。 。。 。。。 (err)
    2008-06-17 20:32:11下载
    积分:1
  • pywracer.2004.12.24.tar
    赛车游戏 基于vc++的游戏设计 实现赛车游戏(car games)
    2011-12-21 15:39:53下载
    积分: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
  • Minesweeper-game
    用C++编的一个扫地雷游戏,代码清晰,有注释(A Minesweeper game C++ compiled, the code is clear, Notes)
    2012-10-17 21:04:09下载
    积分:1
  • 56845757555
    金庸小说人物卜,游戏编程源码,很好的参考资料,有需要的就下载吧。(Characters in the novels of Jin Yong Bu, game programming source code, a good reference, there is a need to download it.)
    2013-10-08 22:38:55下载
    积分:1
  • ball
    桌面弹球是游戏中常见的游戏,从以前的掌上游戏机到如今的手机游戏,都是一个十分经典的游戏。玩家控制一个可以左右移动的挡板去改变运动中小球的移动方向,目的是用小球消除游戏屏幕中的所有障碍物到达下一关,在障碍物被消除的过程中,可能会产生一些能改变挡板或者小球状态的物品,例如:挡板变长、变短,小球威力加强等等。本章主要介绍如何实现一个简单的弹球游戏,让读者了解“动画”的实现原理。(Desktop pinball game is common in game, from the previous game boy to today s mobile games, is a very classic game players control a can move around the damper to change the ball movement direction of the movement, the purpose is to use the ball game screen to eliminate all the obstacles and reach the next level, in the process of obstacle is eliminated, may produce some can change baffle or ball state items, such as: baffle get long become short, ball power to strengthen and so on this chapter mainly introduces how to realize a simple pinball game, let the reader know animation principle )
    2012-11-21 12:25:28下载
    积分: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
  • 摸奖程序版本2
    说明:  一个应邀而写的玩的游戏 ,一个摸奖游戏,其中的对一个timer等控件有一个好的应用,应用的算法值得参考。(an invitation to write the play of the game, a game Our troops, the right controls such as a timer is a good application, the application of algorithms is worth noting.)
    2005-11-22 12:15:06下载
    积分:1
  • 696522资源总数
  • 104029会员总数
  • 31今日下载