登录
首页 » Pascal » 2

2

于 2013-11-15 发布 文件大小:1KB
0 284
下载积分: 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 个回复

  • SuperMario
    Flex编写的超级玛丽游戏源码,可供初学者学习使用(Flex source code written in Super Mario games, for beginners to learn to use)
    2011-10-17 16:10:10下载
    积分:1
  • NesB
    小游戏 小型游戏代码 仅供参考 小游戏 小型游戏代码 仅供参考(small game)
    2013-06-26 14:20:30下载
    积分:1
  • mofangkuaiyuyinyue
    说明:  这是个小小游戏,小时侯我们特爱玩的那种魔方块,不知大家玩过否?有什么改进希望大家能发信息给我,(This a small game, turkey we catch a special kind of magic squares, I do not know whether you have played? What we can hope to improve the information to me, thank you)
    2006-03-25 10:10:25下载
    积分:1
  • sanlianqi-
    用c++编写的可以进行人人交战和人机交战的三连棋简洁版游戏(Can be prepared using c++ all three warring warring and human concise version of the game with chess)
    2013-07-15 18:47:34下载
    积分:1
  • Snake
    这个资料是贪吃蛇游戏在Visual C++环境下实现的源代码(This information is Snake game source code under the Visual C++ environment)
    2012-07-26 20:40:45下载
    积分:1
  • Electronic-clock-
    纪念2013桌面小工具,具有整点报时,日期显示,星期显示,秒表功能,小巧玲珑,很好用!划时代的记录。(A Electronic Clock )
    2013-10-18 08:16:14下载
    积分:1
  • tutorial14(2)
    一个win32 系统下 game tile map 的实现方法(A win32 system game tile map of the Implementation)
    2011-02-08 03:58:58下载
    积分:1
  • MapEditor_bate
    说明:  一个游戏开发能用到的地图编辑器项目完整代码,既可以研究学习也可以使用他开发RPG游戏(Game developers can use a map editor to project a complete code, we can study to learn he can also use the development of RPG games)
    2008-10-29 16:19:37下载
    积分:1
  • 2012de6.8
    2012超级模块 希望大家支持一下啊 2012超级模块 希望大家支持一下啊 (The 2012 super module.)
    2015-05-02 04:17:46下载
    积分:1
  • eluosifangkuai
    VC俄罗斯方块源代码,很好玩的哦,这可是我辛苦找来的(Tetris VC source code, very good Oh, this is my hard to find)
    2012-04-05 15:00:18下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载