登录
首页 » Pascal » 2

2

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

代码说明:

说明:  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 个回复

  • saolei
    非常非常具有可玩性、功能界面都无话说的VB扫雷游戏(Very very playable, functional interfaces are no words of mine VB game)
    2011-08-13 21:31:41下载
    积分:1
  • Tetris
    简单实现俄罗斯方块的源代码,使用C++编写,基于cocos2d-x 3.0alpha1编写(Simple implementation of Tetris source code)
    2015-03-05 11:06:12下载
    积分:1
  • MineSweep
    高仿win7的扫雷游戏,很适合初学者学习(High imitation win7 minesweeper game, it is suitable for beginners to learn)
    2013-09-07 13:03:59下载
    积分:1
  • JAVAgame
    用JAVA语音完成的关于游戏的毕业设计,内部包含源码,论文等部分。(Internal contains the source code, papers and other parts with JAVA voice to complete the graduation project on the game.)
    2012-03-25 08:11:21下载
    积分:1
  • Maze
    自己用Java写的一个随机生成迷宫程序,采用深度优先算法生成迷宫,模拟小老鼠走迷宫。(A randomly generated maze procedure written in Java, using depth-first algorithm to generate a maze to simulate the maze of little mice.)
    2012-06-03 10:22:53下载
    积分:1
  • guessing-game
    用c语言写的猜数字游戏,源码共享给大家,方便大家学习!(A guessing game in C programming language; there is the source code for everyone to share and facilitate learning!)
    2013-06-04 15:54:52下载
    积分:1
  • gameprg
    game 游戏 华容道(game game Hua Rong Dao)
    2008-03-13 17:39:45下载
    积分:1
  • Lianliankan
    一个好玩的连连看游戏,用Visual Basic 语言开发,我只完成了基本代码,请多多指教。(Lianliankan a fun game, developed in Visual Basic language, I only completed the basic code, exhibitions.)
    2011-08-05 20:44:07下载
    积分:1
  • final
    用TC写的撞球游戏,有保存功能,排行榜功能和单双人模式,dos下运行(TC wrote billiard games, save function, ranking function and single and double player mode, dos run)
    2013-10-27 19:19:15下载
    积分:1
  • zuma
    祖玛小游戏 实现基本功能 基本算法 给大家参考一下 地图两种圆形 和 直线(Zuma game to achieve the basic functions basic algorithm to refer to two kinds of circular and linear maps)
    2013-09-02 22:50:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载