0-1背包问题-动态规划
摘要:#include using namespace std; //const int MAX_SIZE = 100; //int n; // 物品种类 //int c; // 背包重量限制 //int w[MAX_SIZE];//weight //int v[MAX_SIZE];//capacity //int x[MAX_SIZE];//falg //int m[MAX_SIZE][MAX...
阅读全文
posted @ 2010-06-12 15:01
浙公网安备 33010602011771号