Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

多个建筑重叠在一起的情况

Posted by ch_g at 2011-04-03 11:17:56 on Problem 3733 and last updated at 2011-04-03 11:19:00
  如果有多个建筑重叠在一起的情况,我一开始的处理方法是减去他们面积的并,但是一直WA。后来看了别人的代码才发现,要直接减去他们面积的总和(也就是说公共部分的面积被减了多次)。
  但是为什么是减去面积总和而不是减去面积并呢?不是减去他们的面积并才更合理吗?难道是我题目理解错了吗?

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator