mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-02 19:56:31 +00:00
C - Pōja Verdon
https://codeforces.com/contest/1663/submission/152441012
This commit is contained in:
parent
c01b620d0d
commit
e3fad1d784
20
Codeforces/1663/C/C.cpp
Normal file
20
Codeforces/1663/C/C.cpp
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
using std::cin;
|
||||||
|
using std::cout;
|
||||||
|
const char endl = '\n';
|
||||||
|
|
||||||
|
int n, x, sum;
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
std::ios::sync_with_stdio(false);
|
||||||
|
|
||||||
|
cin >> n;
|
||||||
|
while (n--) {
|
||||||
|
cin >> x;
|
||||||
|
sum += x;
|
||||||
|
}
|
||||||
|
cout << sum << endl;
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user