| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1333319 | Andrey | 게임 (APIO22_game) | C++20 | Compilation error | 0 ms | 0 KiB |
#include <cstdio>
#include <cstdlib>
#include <vector>
#include "game.h"
#include "game.cpp"
namespace {
int read_int() {
int x;
if (scanf("%d", &x) != 1) {
fprintf(stderr, "Error while reading input\n");
exit(1);
}
return x;
}
} // namespace
int main() {
int N = read_int();
int M = read_int();
int K = read_int();
std::vector<int> u(M), v(M);
for (int i = 0; i < M; ++i) {
u[i] = read_int();
v[i] = read_int();
}
init(N, K);
int i;
for (i = 0; i < M; ++i) {
int answer = add_teleporter(u[i], v[i]);
if (answer != 0 && answer != 1) {
i = -1;
break;
} else if (answer == 1) {
break;
}
}
printf("%d\n", i);
return 0;
}
Compilation message (stderr)
In file included from game.cpp:1,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5,
from game.cpp:5:
/usr/include/c++/13/cstdio:41:28: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
41 | #include <bits/c++config.h>
| ^
/usr/include/c++/13/cstdio:42:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
42 | #include <stdio.h>
| ^
In file included from game.cpp:2:
/usr/include/c++/13/cstdlib:41:28: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
41 | #include <bits/c++config.h>
| ^
In file included from game.cpp:5:
game.cpp:1:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
1 | #include <cstdio>
| ^
game.cpp:2:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
2 | #include <cstdlib>
| ^
game.cpp:3:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
3 | #include <vector>
| ^
game.cpp:4:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
4 | #include "game.h"
| ^
game.cpp:5:20: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
5 | #include "game.cpp"
| ^
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.cpp:20:5: error: redefinition of 'int main()'
20 | int main() {
| ^~~~
game.cpp:20:5: note: 'int main()' previously defined here
20 | int main() {
| ^~~~
game.cpp:9:5: error: redefinition of 'int {anonymous}::read_int()'
9 | int read_int() {
| ^~~~~~~~
game.cpp:9:5: note: 'int {anonymous}::read_int()' previously defined here
9 | int read_int() {
| ^~~~~~~~
game.