Submission #987629

#TimeUsernameProblemLanguageResultExecution timeMemory
987629kimGame (IOI13_game)C++17
Compilation error
0 ms0 KiB
#include "game.h" #include<bits/stdc++.h> using namespace std; bool adj[1505][1505]; void add(int u,int v){ adj[u][v]=adj[v][u]=1; } void initialize(int n) { add(1,2),add(2,4),add(3,4); } int hasEdge(int u, int v) { return adj[u][v]; }

Compilation message (stderr)

/usr/bin/ld: /tmp/cc9XZ54f.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