
ACM
不能说的昵称
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ZKW线段树
zkw线段树原创 2015-03-07 10:29:20 · 608 阅读 · 0 评论 -
筛选法--快速求素数
快速求素数方法原创 2015-02-22 17:33:48 · 1702 阅读 · 0 评论 -
进制位数
HDU2097 - Sky数http://acm.hdu.edu.cn/showproblem.php?pid=2097#include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>#include <string>#include <algorithm>#include <cmath>#include原创 2015-02-19 15:25:37 · 471 阅读 · 0 评论 -
01背包变形--求方案数
HDU 2126 - Buy the souvenirs原创 2015-02-06 11:11:39 · 632 阅读 · 0 评论 -
多重背包的一个解法
POJ1276 - Cash Machine 多重背包原创 2015-02-06 10:44:48 · 592 阅读 · 0 评论 -
01背包一维dp数组的实现
二维的01背包模板重点内容include include include # using namespace std; const int maxw = 10000;** const int maxn = 100; int n,W; int w[maxw 2],v[maxn 2],dp[maxw **2];int main() { cin >> n >> W; for原创 2015-02-06 00:34:07 · 914 阅读 · 0 评论