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