摘要:
pku 3624Charm Bracelethttp://poj.org/problem?id=3624最裸的01背包。View Code #include <cstdio>#include <cstring>#include <iostream>#define CL(a,num) memset((a),(num),(sizeof(a)))#define N 3405#define M 12888using namespace std;int c[N],w[N];int f[M];int main(){ int i,j; int n,m; scanf(&qu 阅读全文
posted @ 2012-10-07 22:19
E_star
阅读(1118)
评论(0)
推荐(0)


浙公网安备 33010602011771号