Bone Collector
摘要:背包模板题 so so easy题目原意就是 给个包 给各种骨头 都有价值和体积 求最大值 01#include<iostream>#include<cstring>#include<stdio.h>#include<stdlib.h>using namespace std;int f[1500];int v[1500];int w[1500];int main(){ int n,m,vv; //freopen("t.txt","r",stdin); while(scanf("%d",&
阅读全文
posted @ 2011-10-09 14:23
浙公网安备 33010602011771号