http://oj.acm.zstu.edu.cn/JudgeOnline/problem.php?id=4387
题解:签到题
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char *argv[]) {
int n,i,temp,sum=0;
scanf("%d",&n);
for(i=1;i<=n;i++){
scanf("%d",&temp);
sum+=temp;
}
printf("%d\n",sum);
return 0;
}