0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-12 23:46:26 +00:00
OI-codes/Codeforces/1663/C/C.cpp

21 lines
263 B
C++
Raw Normal View History

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