Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
01背包解法的坑点在这里此题坑点1: 最大范围是-100*1000~100*1000, 而不是-1000~1000 此题坑点2: dp时左右界都要判断, j - F[i] >= 0 && j - F[i] <= maxn*maxm Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator