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 dashashi at 2009-12-08 17:23:34 on Problem 1015
犯了一大堆错误……
最开始用了二维数组的动规,储存的时候用了一个pre来表示上一个数据,最后打印出来的路径有重复。于是又用三维数组,毫无悬念的超内存了……然后想到在每一个状态下面都保存路径,最后还是错,然后发现了一个相当悲剧的错误……N有200,我只开了100的数组……

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