Submission #1226857

#TimeUsernameProblemLanguageResultExecution timeMemory
1226857fauntleroyCombo (IOI18_combo)C++20
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "combo.h" #define int long long using namespace std; string guess_sequence(int n) { string ans; for (int i = 0; i < n; ++i) { for (char c : {'A', 'B', 'X', 'Y'}) { ans.push_back(c); if (press(ans)) break; ans.pop_back(); } } return ans; }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccpJM6Pt.o: in function `main':
grader.cpp:(.text.startup+0x4c): undefined reference to `guess_sequence[abi:cxx11](int)'
collect2: error: ld returned 1 exit status