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 first at 2003-11-25 13:07:46 on Problem 1011


我的算法有问题.
我用动态规划,不断构造需要的长度
但是有错误的是如果这
6 2 2 4 8 8
对len=10
我的程序是 6和2,2结合而不是和4
所以导致认为10不能完全构造.输出是30
这个怎么处理阿
那位兄弟说说应该怎么完全搜索


                                
                                











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