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 wavemoon at 2005-10-23 16:21:22 on Problem 2074
每加入一个障碍物。。就计算得到一个不能完全看到的区间(应该不是很难计算)。。
然后将所有不能完全看到的区间。。以左端点排序。。。。。
那么在property line的范围内的。。相邻两个区间的距离( 第i个区间的左端点-第(i-1)个区间的右端点)的最大值既是所求。。
------这样对不对啊????感觉没问题啊
wa 了 n次了。。。5555555~~~~

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