Submission #675388

#TimeUsernameProblemLanguageResultExecution timeMemory
675388m23022002Coins (IOI17_coins)C++14
Compilation error
0 ms0 KiB
#include "coins.h" #include<bits/stdc++.h> using namespace std; int cu; vector<int> coin_flips(vector<int>&b, int c){ vector<int>ans(1); ans[0] = 0; cu = c; return ans; } int find_coin(vector<int>&b) { return cu; }

Compilation message (stderr)

/usr/bin/ld: /tmp/cc8CAbfN.o: in function `main':
grader.cpp:(.text.startup+0x3a5): undefined reference to `coin_flips(std::vector<int, std::allocator<int> >, int)'
/usr/bin/ld: grader.cpp:(.text.startup+0x997): undefined reference to `find_coin(std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status