登录
首页 » Pascal » 2

2

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

  • Tetris
    说明:  vc++做的俄罗斯方块游戏,具有统计分数,级别 设置。(vc++ to do the Tetris game, with a statistical score, level setting.)
    2011-04-14 14:25:52下载
    积分:1
  • MapEditor_bate
    说明:  一个游戏开发能用到的地图编辑器项目完整代码,既可以研究学习也可以使用他开发RPG游戏(Game developers can use a map editor to project a complete code, we can study to learn he can also use the development of RPG games)
    2008-10-29 16:19:37下载
    积分:1
  • tuixiangzi-src
    一款推箱子游戏的源代码,希望可以对游戏编程有帮助(I hope the source code of a Sokoban game can help your game programming)
    2012-03-23 09:09:09下载
    积分:1
  • Ar_dadishu_3
    一个AR打地鼠游戏,用手机扫一扫可以出现打地鼠场景(a simple Ar game,it is interesting)
    2017-09-11 11:27:36下载
    积分:1
  • snake
    这是二维的Matlab贪吃蛇小程序,操作简单易上手,十分适合学习(This is a two-dimensional Snake applet, easy to use and easy to use.)
    2020-06-21 10:20:01下载
    积分:1
  • tanchishe
    一个简单的贪吃蛇,希望多初学者有点帮助,就用了for循环写的(A simple snake, hope to beginners a little help, the program only used for the cycle to write)
    2017-04-19 18:58:22下载
    积分:1
  • Tetris
    简单实现俄罗斯方块的源代码,使用C++编写,基于cocos2d-x 3.0alpha1编写(Simple implementation of Tetris source code)
    2015-03-05 11:06:12下载
    积分:1
  • day05-homework
    有界面的俄罗斯方块的 源码和说明文档等信息(Tetris with interface source code and documentation and other information)
    2011-08-12 08:49:47下载
    积分:1
  • lianliankan
    一款简单的连连看源码,有暂停 有限时,选中方块颜色会有变化(code of an easy game)
    2014-07-14 17:08:02下载
    积分:1
  • tank
    qt编写tank小游戏,目前还不是很完善,大家共同学习(qt write tank game, is not perfect, we learn together)
    2013-03-08 20:37:18下载
    积分:1
  • 696518资源总数
  • 105549会员总数
  • 12今日下载