Submission #1006567

#TimeUsernameProblemLanguageResultExecution timeMemory
1006567christinelynnGame (IOI14_game)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; #define int long long int freq[10005]; void initialize(int n) { } int hasEdge(int u, int v) { return (+freq[max(u, v)] == max(u, v)); }

Compilation message (stderr)

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