登录
首页 » Pascal » 2

2

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

  • 87657435876
    java写的手机小游戏,黄金矿工2,附带源码。(Written in Java mobile phone games, 2 gold miners, with source code.)
    2013-09-09 20:02:32下载
    积分:1
  • Snake-source-code
    本程序是一个贪吃蛇的程序,可以实现贪吃蛇游戏的基本功能(This program is a Snake' s program, you can achieve the basic functions of the Snake game)
    2013-03-04 16:31:24下载
    积分:1
  • JYNet
    俄罗斯方块 联网版 不错很好,功能齐全。(Networked version of Tetris)
    2011-10-01 09:48:17下载
    积分:1
  • zhuangqiu
    一款非常简单的撞球游戏,使用方向键控制板块左右弹动小球即可得分。(one very simple game of pool, use the direction keys to control plate at about moving the ball can score.)
    2006-07-31 23:11:57下载
    积分:1
  • Migong
    迷宫小游戏,尽可能的模仿现实中的迷宫游戏(Maze small game, as far as possible the imitation of the real maze game )
    2012-02-27 16:19:45下载
    积分:1
  • caishuzi
    delphi 猜数字游戏,有兴趣的可以参考学习(delphi game code)
    2011-06-17 15:49:44下载
    积分:1
  • 3D-TANK
    3D坦克视频教程及源码,非常详细,适合初学者参考(3D tank)
    2013-08-13 14:13:21下载
    积分:1
  • sdk_jyt
    说明:  用SDK写的劲乐团游戏 对学SDK很有帮助(using the SDK to write strong game Orchestra SDK helpful for school)
    2006-04-12 20:14:38下载
    积分:1
  • MyTetris
    Java 实现的俄罗斯方块小游戏,采用MVC模式开发的(Tetris game using java,with MVC pattern)
    2011-10-30 19:42:11下载
    积分:1
  • 4576585477
    台球瞄准器,游戏编程源码,很好的参考资料。(Billiards sight, game programming source code, a good reference.)
    2013-10-08 19:29:14下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载