Submission #129071

#TimeUsernameProblemLanguageResultExecution timeMemory
129071antimirageGame (IOI14_game)C++14
Compilation error
0 ms0 KiB
#include "game.h" #include <bits/stdc++.h> #include "grader.cpp" using namespace std; const int N = 1505; int p[N]; void initialize(int N) { } int hasEdge(int u, int v) { return p[max(u, v) ]++ == max(u, v); }

Compilation message (stderr)

/tmp/ccG72Etn.o: In function `read_int()':
grader.cpp:(.text+0x0): multiple definition of `read_int()'
/tmp/ccLdhzrd.o:game.cpp:(.text+0x0): first defined here
/tmp/ccG72Etn.o: In function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccLdhzrd.o:game.cpp:(.text.startup+0x0): first defined here
/tmp/ccG72Etn.o:(.bss+0x0): multiple definition of `rets'
/tmp/ccLdhzrd.o:(.bss+0x17a0): first defined here
collect2: error: ld returned 1 exit status