Show More
Commit Description:
fixed missing require
Commit Description:
fixed missing require
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); | ||||
} | ||||