Submission #675387

#TimeUsernameProblemLanguageResultExecution timeMemory
675387m23022002Coins (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(int* b, int c){ vector<int>ans(1); ans[0] = 0; cu = c; return ans; } int find_coin(int *b) { return cu; }

Compilation message (stderr)

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