Submission #1079204

#TimeUsernameProblemLanguageResultExecution timeMemory
1079204hirayuu_ojGame (IOI13_game)C++17
Compilation error
0 ms0 KiB
#include "game.h" #include<bits/stdc++.h> using namespace std; vector<int> cnt; void initialize(int n){ cnt.resize(n,n-1); } int hasEdge(int u, int v){ cnt[u]--;cnt[v]--; if(cnt[u]==0||cnt[v]==0)return 1; else return 0; }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccdIUcuQ.o: in function `main':
grader.c:(.text.startup+0x6b): undefined reference to `init'
/usr/bin/ld: grader.c:(.text.startup+0xd0): undefined reference to `calculate'
/usr/bin/ld: grader.c:(.text.startup+0x13e): undefined reference to `update'
collect2: error: ld returned 1 exit status