摘要: 1 //01背包,详见背包九讲 2 #include 3 #include 4 typedef struct 5 { 6 int val,room; 7 } cus; 8 int an[1005]; 9 cus inf[1005]; 10 int main() 11 { 12 int n; 13 scanf("%d",&n); 14 while(... 阅读全文
posted @ 2017-02-15 18:18 Posase 阅读(198) 评论(0) 推荐(0) 编辑