摘要: 一道完全背包的模板题。#include#include#include#includeusing namespace std;#define inf 0x3f3f3f3fint t,e,f,n;int v[505],w[505],dp[10010];//当前容量小能选择的最小的价值。int main... 阅读全文
posted @ 2015-10-30 16:07 zzuli_柚子 阅读(122) 评论(0) 推荐(0) 编辑