登录
首页 » Pascal » 2

2

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

  • beer_game
    很多人都玩过吧,一桌人轮流报数,凡遇到6(也可是其它数字)或是6的倍数,不报出,但要拍下桌子。动作失误者会被罚酒。 用的时候,只要修改gamers, first, num就可以了。参考生成的列表就不会出错啦(Many people have played it, the table turns reported number, in any case where the 6 (or other digital) or multiples of 6 are not reported, but photographed desk. Action mistakes will be Monastic. When, just modify gamers, first, num. Reference to generate the list you can not go wrong!)
    2013-04-12 10:09:12下载
    积分:1
  • LLK
    连连看寻路算法,防死锁算法,选择重排算法等等。(LLK most algorithm )
    2011-06-29 01:40:55下载
    积分: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
  • matchman
    火柴人对打游戏的文件配置,说明,源代码等等,内容非常丰富啊(Matches people fighting game configuration files, description, source code, etc., the content is very rich ah)
    2007-09-17 21:11:43下载
    积分:1
  • tank
    qt编写tank小游戏,目前还不是很完善,大家共同学习(qt write tank game, is not perfect, we learn together)
    2013-03-08 20:37:18下载
    积分:1
  • 87657435876
    java写的手机小游戏,黄金矿工2,附带源码。(Written in Java mobile phone games, 2 gold miners, with source code.)
    2013-09-09 20:02:32下载
    积分:1
  • 走迷宫
    小游戏,为了增加游戏乐趣可修改游戏时间限制(Game, can modify the game time limit)
    2020-06-21 05:40:02下载
    积分:1
  • MFC_Othell14882010282002
    this is small othello game. you can see the source and everything pls download it and learn
    2012-03-31 21:56:42下载
    积分:1
  • Game3DSource
    Very simple 3D Game made in Delphi with GLScnene
    2010-05-11 06:04:05下载
    积分:1
  • Snakegame_
    简单的贪吃蛇游戏 java初学者可参看(A simple Snakegame for novice who learn java (英语不好 见谅))
    2012-05-25 10:37:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载