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

终于AC,谈下感想

Posted by dirdirdir3 at 2010-01-13 12:09:21 on Problem 1009
做了两天,终于AC了,主要是不够细心,小的错误很多,调试了很久.....
思路其实只要考虑一种情况可以跳过大量的节点,是上面3个点在同一个pair,中间和下面的也分别在一个pair中,的情况,可以压缩,如:
66666666666
77777777788
88888888888
第二个7开始可以压缩,到倒数第二个7........

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