登录
首页 » Pascal » 2

2

于 2013-11-15 发布 文件大小:1KB
0 220
下载积分: 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
  • saiche
    简单的赛车游戏,在游戏中可以实现加速、减速和换道。游戏中尽量躲避障碍,一共有5次生命。(Simple racing game, the game can achieve acceleration, deceleration and lane changing Try to avoid obstacles in the game, a total of five times the life.)
    2012-11-01 13:49:47下载
    积分:1
  • stone_choice
    很小很经典的一个游戏——取石子,一次只允许取1到3的整数,最后取走石子的一方失败。(A small classic games- from stone, to allow only take a 1-3 integer, and finally took away the stones of one loser.)
    2008-12-26 15:22:54下载
    积分: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
  • rf
    说明:  c#俄罗斯方块 功能比较简单 但是代码也很少(c# Tetris function is relatively simple but the code is rarely)
    2013-06-15 00:27:27下载
    积分:1
  • yanhua
    可惜一开始没能画成圆,所以整个过程都是菱形的变换,希望大家多多指教,能够想办法把初始状态就围成一个圆(Unfortunately, the beginning could not draw into a round, so the whole process is the diamond transformation, we hope the exhibitions, to be able to think of a way to put the initial state is surrounded by a circle)
    2013-02-23 18:24:04下载
    积分:1
  • wang9273winmine
    说明:  模仿windows的扫雷程序(一模一样),源代码很有参考价值!(windows imitate the demining process (the same), the source of great reference value!)
    2006-03-13 15:23:43下载
    积分: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
  • RunningMatchmen
    火柴人的跳跃和滚动 按s滚动躲避障碍 按w跳跃躲避障碍(Stickman jumping and rolling)
    2013-12-12 20:24:23下载
    积分:1
  • 扫雷的源程序
    扫雷游戏.用VB写的一个小游戏(mine games. VB wrote a little game)
    2005-01-18 18:00:33下载
    积分:1
  • 696518资源总数
  • 104552会员总数
  • 3今日下载