mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
19 lines
228 B
C
19 lines
228 B
C
|
/*
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:ǧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD>Ŀ:p1202 <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
*/
|
|||
|
|
|||
|
#include <stdio.h>
|
|||
|
|
|||
|
int main(int argc, char* argv[]) {
|
|||
|
int a, b = 0;
|
|||
|
scanf("%i", &a);
|
|||
|
while(a--){
|
|||
|
int l;
|
|||
|
scanf("%i", &l);
|
|||
|
b += l;
|
|||
|
}
|
|||
|
printf("%i", b);
|
|||
|
return 0;
|
|||
|
}
|