제출 #129071

#제출 시각아이디문제언어결과실행 시간메모리
129071antimirage게임 (IOI14_game)C++14
컴파일 에러
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); }

컴파일 시 표준 에러 (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