0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-02 23:56:29 +00:00
OI-codes/Hydro/system_test/2/2.cpp

29 lines
434 B
C++

#include <bits/stdc++.h>
using namespace std;
int n, x;
inline int read() {
int x = 0, w = 1;
char c;
while (!isdigit(c)) {
if (c == '-') w = -1;
c = getchar();
}
while (isdigit(c)) {
x = x * 10 + (c - '0');
c = getchar();
}
return x * w;
}
int main() {
n = read();
for (int i = 0; i <= n; i++) {
x = read();
}
printf("%d\n", x);
return 0;
}