0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-05 02:06:27 +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;
}