摘要: 1 #include 2 int a[55]; 3 int main() 4 { 5 int Case=0,n,i,s,ans; 6 while(~scanf("%d",&n)&&n) 7 { 8 for(i=s=0; is) 17 ans+=a[i]-s; 18 } 19 i... 阅读全文
posted @ 2016-12-01 16:54 Posase 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 3 int main() 4 { 5 int n,m; 6 long long x,s,maxx; 7 while(~scanf("%d",&n)) 8 { 9 while(n--) 10 { 11 scanf("%d",&m); 12 s... 阅读全文
posted @ 2016-12-01 08:57 Posase 阅读(293) 评论(0) 推荐(0) 编辑