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 |
Re:用背包可以做吗?In Reply To:用背包可以做吗? Posted by:guoxiang at 2009-08-26 16:26:07 可以吧。。。用二进制记录选取的数,然后通过‘|’运算添加,最后用&判断,,,只不过要排一下序就是了。。。 偷懒写了个枚举。。呵呵呵 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator