摘要: VF时间限制:1000 ms | 内存限制:65535 KB 难度:2描述Vasya is the beginning mathematician. He decided to make an important contribution to the science and to become f... 阅读全文
posted @ 2015-05-25 23:16 handsomecui 阅读(733) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 struct Case{ 4 int price,importance; 5 }data[25]; 6 int main(){ 7 int N,m,T,bag[30000],a,b; 8 scanf("%d",&T); 9 ... 阅读全文
posted @ 2015-05-25 23:13 handsomecui 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 int bag[1001]; 6 struct Case{ 7 int c,w; 8 }apple[1010]; 9 /*int cmp(Case a,Case b){10 ... 阅读全文
posted @ 2015-05-25 23:11 handsomecui 阅读(344) 评论(0) 推荐(0) 编辑