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 ixor at 2013-02-23 19:26:49 on Problem 1011
这题别想太复杂,我优化了整整一个星期后才发现想多了o(╯□╰)o

排序,dfs + prune,就这样

这题麻烦不在于题的解法有多难,而在于存在很多花哨解法的诱惑,如果解法没选对,再怎么优化也不可能过,

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