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

Re:我也WA了好久,你试试这一组数据吧

Posted by liu_runda at 2017-02-22 20:36:09 on Problem 2074
In Reply To:Re:我也WA了好久,你试试这一组数据吧 Posted by:Ly86 at 2010-02-21 19:34:56
> No obstruction will overlap with the house or property line, e.g. if obstacle y = house y, you are guaranteed the entire range obstacle[x1, x2] does not intersect with house[x1, x2].
> 楼上的数据不对.不可能有这样的情况出现
楼上的数据是对的.只是说障碍物不会和房屋有公共部分,没说障碍物的y坐标不能比房屋高.障碍物的y坐标可能比道路小或者比房屋大,题意没有禁止这种情况,需要特判一下把这些点忽略掉

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