Submission #239035

#TimeUsernameProblemLanguageResultExecution timeMemory
239035aggu_01000101Game (IOI14_game)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include <game.h> #define int long long #define INF 1000000000000000 #define lchild(i) (i*2 + 1) #define rchild(i) (i*2 + 2) #define mid(l, u) ((l+u)/2) #define x(p) p.first #define y(p) p.second #define MOD 998244353 using namespace std; const int N = 1505; int tt[1505]; void initialise(int n){} int hasEdge(int u, int v) { return (++tt[max(u, v)] == max(u, v)); }

Compilation message (stderr)

/tmp/ccCA9Ddo.o: In function `main':
grader.cpp:(.text.startup+0x14): undefined reference to `initialize(int)'
grader.cpp:(.text.startup+0x57): undefined reference to `hasEdge(int, int)'
collect2: error: ld returned 1 exit status