| ||||||||||
| 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 | |||||||||
用什么算法不遗漏阿
我的算法有问题.
我用动态规划,不断构造需要的长度
但是有错误的是如果这
6 2 2 4 8 8
对len=10
我的程序是 6和2,2结合而不是和4
所以导致认为10不能完全构造.输出是30
这个怎么处理阿
那位兄弟说说应该怎么完全搜索
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator