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

Re:低级错误

Posted by zczhuohuo at 2012-02-15 16:19:46 on Problem 1948
In Reply To:低级错误 Posted by:200593141 at 2008-02-29 16:42:27
> if(dp[j][k-aa[i]]==1&&k>=aa[i])
> 
判断语句写反了,应该是if(k>=aa[i]&&dp[j][k-aa[i]])

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