多重背包之六
摘要:
#include<iostream> //poj 2392 Space Elevator #include<algorithm>using namespace std;int dp[50000];struct node{ int h,a,c; bool operator<(const node& o) { return a<o.a; }}ans[405];int k;int main(){ cin>>k; for(int i=0;i<k;++i) cin>>ans[i].h>>ans[i].a>> 阅读全文
posted @ 2011-08-22 12:23 sysu_mjc 阅读(126) 评论(0) 推荐(0)
浙公网安备 33010602011771号