Show More
Commit Description:
add auto setting of config.time_zone to be the system timezone (from either /etc/timezone or /etc/sysconfig/clock)
Commit Description:
add auto setting of config.time_zone to be the system timezone (from either /etc/timezone or /etc/sysconfig/clock)
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); | ||||
} | ||||