ACE-Top

导航

2013年8月16日 #

E. Mishap in Club

摘要: /*一道水题 !!!*/ 1 #include 2 #include 3 #define N 310 4 5 int main () 6 { 7 char pop[N]; 8 int i,pop_len; 9 while(scanf("%s",&pop)!=EOF)10 {11 pop_len=strlen(pop);12 int jingqu=0;int chuqu=0;13 int sum=0;14 for(i=0;i0){chuqu--;jingqu++;}else {jingqu++;sum+... 阅读全文

posted @ 2013-08-16 17:41 ACE-Top 阅读(122) 评论(0) 推荐(0) 编辑