摘要:
http://acm.sdut.edu.cn/sdutoj/problem.php?action=seach小P的故事——神奇的Dota#include #include #include int V; int f[100001]; int c[3] = {0,150,200,350... 阅读全文
摘要:
#include using namespace std;const int N = 3;//物品个数const int V = 5;//背包最大容量int weight[N + 1] = {0,3,2,2};//物品重量int value[N + 1] = {0,5,10,20};//物品价值in... 阅读全文