Show More
Commit Description:
added raw testdata for problem used for testing...
Commit Description:
added raw testdata for problem used for testing
git-svn-id: http://theory.cpe.ku.ac.th/grader/judge/trunk/scripts@421 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
test/data/raw/sum/sum.c
| 14 lines
| 177 B
| text/x-c
| CLexer
|
|
r79 | #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); | ||||
} | ||||