摘要: 水题。 1 #include 2 #include 3 #include 4 using namespace std; 5 6 int main() 7 { 8 int n, cnt = 1; 9 char str[1000];10 while(scanf("%d", &n)!=EOF && n)11 {12 int max = 0;13 for(int i=0; imax)max =sum;21 }22 printf("Case %d: %d\n", cnt++, max);23 ... 阅读全文
posted @ 2013-10-29 01:11 张小豪 阅读(152) 评论(0) 推荐(0) 编辑