登录
首页 » Pascal » 2

2

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

  • xiangqi
    纯java编写的象棋,里面可能需要自己设置一下图片的大小位置(Pure java chess, which may need to set the picture size and position)
    2013-03-04 13:49:28下载
    积分:1
  • renju
    说明:  五子棋游戏。利用人工智能算法,基于VC++平台。单机游戏,( The use of artificial intelligence algorithms, based on VC++ platform. Stand-alone game,)
    2010-03-19 22:30:03下载
    积分:1
  • finguess
    VB编写的图形界面的猜拳小游戏,供初学者参考。(Program for "finger guess game", by Visual Basic.)
    2013-09-27 11:19:17下载
    积分:1
  • XIAOQIUf
    在使用TURBO C学习时编写的贪球游戏 功能十分简单 但是确是劳动的成果 希望大家支持(TURBO C in the use of study prepared by greedy ball game features a very simple but it is the outcome of the labor I hope you will support)
    2009-01-09 20:57:12下载
    积分:1
  • chidoudou
    说明:  一个吃豆豆的游戏,游戏功能很简单,操作应该不用累赘了,用c语言写的~呵呵,不会很落后吧~(an eating Dou game, the game is very simple functions, operators do not have to be cumbersome, with the written language c ~ Oh, it will not be very backward ~)
    2005-10-27 00:11:04下载
    积分:1
  • GuessNumber
    说明:  猜数字游戏 计算机随机产生一个无重复数字的四位数 若所猜的数位置与数字均正确,会显示一个A,若数字对位置不对,会显示一个B.(Number guessing game is a computer randomly generated four-digit number without repetition by the guess that if the number of locations and figures are correct, will show an A, if the number of position wrong and they' ll show a B.)
    2021-03-22 08:19:17下载
    积分:1
  • skyblue_BoxMan
    推箱子小游戏,visualC++经典游戏设计(Sokoban game, visualC++ Classic Game Design)
    2008-12-18 14:39:16下载
    积分:1
  • mine
    用vc++6.0编程实现一个扫雷的游戏程序(Programming using vc++6.0 of a mine' s games)
    2010-07-12 16:57:48下载
    积分:1
  • sanlianqi-
    用c++编写的可以进行人人交战和人机交战的三连棋简洁版游戏(Can be prepared using c++ all three warring warring and human concise version of the game with chess)
    2013-07-15 18:47:34下载
    积分:1
  • Classicgamessource
    说明:  用C编写的经典游戏程序源码(有俄罗斯方块、贪吃蛇、推箱子等)(Classic games source by C)
    2010-04-18 08:00:45下载
    积分:1
  • 696518资源总数
  • 106155会员总数
  • 8今日下载