Submission #1036907

#TimeUsernameProblemLanguageResultExecution timeMemory
1036907vaneaGame (IOI14_game)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "game.h" using namespace std; using ll = long long; const int mxN = 2e3+10; int cnt[mxN], N; int hadEdge(int u, int v) { ++cnt[u]; ++cnt[v]; if(cnt[u] == N-1 || cnt[v] == N-1) return 1; return 0; } void initialize(int n) { N = n; }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccTUMDSk.o: in function `main':
grader.cpp:(.text.startup+0x94): undefined reference to `hasEdge(int, int)'
collect2: error: ld returned 1 exit status