摘要:
View Code 1 #include<stdio.h> 2 #include<stdlib.h> 3 4 int main() 5 { 6 int i,n,a,b,sum,ncases,m; 7 8 scanf("%d",&ncases); 9 while( ncases-- ) 10 {11 scanf("%d",&n);12 sum = 0; 13 for(i=0; i<n; i++)14 {15 scanf("%d",&m); 16 ... 阅读全文
摘要:
View Code 1 #include<stdio.h> 2 #include<stdlib.h> 3 int main() 4 { 5 int a,b; 6 7 scanf("%d%d",&a,&b); 8 printf("%d\n",a+b); 9 return 0; 10 } 阅读全文