登录
首页 » Pascal » 2

2

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

  • zhongguoxiangqiCPP
    c语言版本中国象棋,完美实现经典象棋的c语言程序源代码。(c language version of Chinese chess, the perfect realization of the classic chess c language program source code.)
    2013-09-29 16:14:03下载
    积分:1
  • wasdewf
    小游戏开发实例。里面有很多小游戏的源代码以及解说。(games source code)
    2011-11-29 20:33:18下载
    积分:1
  • 电子钟
    说明:  电子时钟游戏,可以实现游戏的界面,开发设计(Electronic clock game it can make game face and design)
    2020-03-26 11:12:49下载
    积分: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
  • flychess
    这是一个很复杂的用java编写的飞行棋游戏,难点在地图的绘制上(This is a very complex flight with a chess game written in java and difficult to draw on the map)
    2011-11-22 20:12:09下载
    积分:1
  • Mine
    一个用vc++编写的踩雷游戏,主要用于学习MFC中有关函数的学习。(Ray game on。)
    2012-04-22 16:10:33下载
    积分:1
  • Double-version-of-Tetris
    俄罗斯方块双人版(对应图片位置自己下载图片)(Double version of Tetris)
    2015-04-18 18:32:12下载
    积分:1
  • MineSweep
    高仿win7的扫雷游戏,很适合初学者学习(High imitation win7 minesweeper game, it is suitable for beginners to learn)
    2013-09-07 13:03:59下载
    积分:1
  • wangloucaishuozi
    網絡對戰猜數字,可以网络对战的,VB编写的(Network猜数字war, the war can network, VB prepared)
    2009-01-05 20:55:07下载
    积分:1
  • VBrolemove
    VB精灵操作方法通过方向键控制人物角色移动,VB原代码演示(VB rgp role move VB rgp role move VB rgp role move )
    2011-06-18 14:53:41下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载