dp-实现0-1背包
#include <iostream>#include <stdio.h> #include <algorithm>using namespace std;const int maxn=100;int main(int argc, char** argv) { int n,V; scanf("%d%d",&n,&V); int w[maxn],c...
原创
2018-03-28 20:44:10 ·
150 阅读 ·
0 评论