2013年2月19日
摘要:
http://poj.org/problem?id=2754先把low--up 转化为0--(up-low)然后变成背包 背包的关键在于多重背包用二进制优化代码:#include<iostream>#include<cstdio>#include<cstring>#include<string>#include<map>#include<vector>#include<stack>#include<set>#include<map>#include<queue>#includ 阅读全文
摘要:
http://acm.sdut.edu.cn/sdutoj/problem.php?action=showproblem&problemid=1944代码:#include<iostream>#include<cstdio>#include<cstring>#include<string>#include<map>#include<vector>#include<stack>#include<set>#include<map>#include<queue>#inclu 阅读全文