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 pasted at 2015-07-19 16:46:50 on Problem 1231
先转换成k个矩形,再尝试每个矩形的右边界和下边界是否穿过其他矩形,一个都不穿过的话就记录该线,最后判断一下是否有两个矩形在 由所有记录的线组成的表格 的同一个单元格中,有的话就NO,没有就YES。总时间复杂度为O(k^2)

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