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 main(){ int k;cin>>k;
相关文章
相关标签/搜索