登录
首页 » Pascal » 2

2

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

  • 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
  • bug
    一个基于C++的打虫子游戏,难度递增,虫子的轨迹随机。(A C++ to play insect games, difficulty increase.)
    2013-10-29 09:30:14下载
    积分:1
  • source
    《Visual C++游戏开发经典案例详解》书中的源代码,希望对大家有一些帮助!(" Visual C++ game development classic cases." book of the source code, we hope to have some help! )
    2011-12-27 10:34:45下载
    积分:1
  • white_black_game
    经典的黑白棋游戏,采用VC编写,界面不是很好!(classic games, using VC prepared interface is not very good!)
    2006-06-11 18:20:24下载
    积分:1
  • SNAHAN
    很好玩的用C写的贪吃蛇,代码易懂,简明清晰,适合于初学者(is a lot of fun to write the C of the huge memory, code understandable, clear and concise, and suitable for beginners)
    2007-06-10 22:23:58下载
    积分:1
  • WarCrafe
    一个基于Wind32的游戏实例,对于学习和运用c++ 编写游戏是一个很好的参考(A game based Win32 and it is useful for you study the game programming)
    2011-05-26 07:42:28下载
    积分:1
  • Memorize_I19399810132005
    visual basic.net 做的一款记忆游戏(visual memory so one of the game)
    2007-05-03 07:11:22下载
    积分:1
  • e
    说明:  基于python的俄罗斯方块小游戏,有详细的代码解释,是用pyqt写的。(A little game of Tetris based on Python,There is a detailed code explanation, which is written in pyqt.)
    2020-06-08 16:53:03下载
    积分:1
  • 24dianlunwen
    一个24点游戏的论文,可以作为格式来用,也可以用来自己做游戏(The papers of a 24-point game, as the format to use, can also be used to make their own game)
    2012-07-21 12:45:36下载
    积分: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
  • 696516资源总数
  • 106914会员总数
  • 0今日下载