码迷,mamicode.com
首页 >  
搜索关键字:二进制优化    ( 102个结果
Divideing Jewels(nyoj546)(多重背包+二进制优化)
Divideing Jewels时间限制:1000 ms | 内存限制:65535 KB难度:4描述Mary and Rose own a collection of jewells. They want to split the collection among themselves so tha...
分类:其他好文   时间:2014-05-21 22:05:03    阅读次数:492
二进制优化
1 for(j = 1; j 0){6 value[cout ++] = num * value1[i];7 }View Code如num = 4, 将其优化成1 2,这样4以内的数都可以用1 2组合表示。
分类:其他好文   时间:2014-05-21 05:46:16    阅读次数:211
102条   上一页 1 ... 9 10 11
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!