0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-23 23:08:47 +00:00
OI-codes/Codeforces/1663/C/C.cpp

21 lines
263 B
C++

#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;
}