Show More
Commit Description:
preserves script permission in import_problem script
Commit Description:
preserves script permission in import_problem script
File last commit:
Show/Diff file:
Action:
test/data/raw/sum/sum.c | 14 lines | 177 B | text/x-c | CLexer |
#include <stdio.h>
main()
{
int n, x, total;
int i;
scanf("%d",&n);
total = 0;
for(i=0; i<n; i++) {
scanf("%d",&x);
total += x;
}
printf("%d\n",total);
}