poj2392 Space Elevator(多重背包转化为完全背包与01背包)
#include<iostream>#include<algorithm>#include<stdio.h>using namespace std;struct node{ int a,b,c;}a[430];int dp[40500];bool cmp(node a,node b){ return a.b<b.b;}int m...