摘要: 1 #include <iostream> 2 #include <cstdio> 3 #include <algorithm> 4 #include <cstring> 5 6 using namespace std; 7 8 int n; 9 int sum,w[15];10 int rest[151];11 12 int main()13 {14 while(scanf("%d",&n) != EOF)15 {16 sum=0;17 int re=0,tag=0;18 memset(rest,0,sizeof(r 阅读全文
posted @ 2012-10-14 21:25 Missa 阅读(338) 评论(0) 推荐(0) 编辑