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 yygy at 2011-08-20 09:10:13 on Problem 1231
枚举两个矩形,看看他们的分割区间是不是被其他矩形给盖住了,如果有一对被盖住了,就无解,都没被盖住,就有解,复杂度O(K*K*K*log(K))
判断是否被盖住用区间的并来做要排个序的。

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