标签:
Description
Input
Output
Sample Input
Sample Output
#include<stdio.h> int main() { int T,n,a; scanf("%d",&T); while(T--) { int sum=0; scanf("%d",&n); for(int i=1;i<=n;i++) { scanf("%d",&a); sum=sum+a; } printf("%d\n",sum); } return 0; }
F题 - A+B for Input-Output Practice (V)
标签:
原文地址:http://www.cnblogs.com/hfc-xx/p/4883400.html