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 ugyn at 2008-09-22 19:44:46 on Problem 1014
In Reply To:这题我用背包做得..能找到得数据全没问题..一交上去就WA..TT..是不是有什么特殊数据我没考虑到啊? Posted by:Alexandra at 2007-12-14 19:55:35
>                 for(k=sum/2;k>=i*j;k--)
>                    
你的这个k   有问题,应该是k >=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