Submission #749936

#TimeUsernameProblemLanguageResultExecution timeMemory
749936vjudge1Combo (IOI18_combo)C++17
Compilation error
0 ms0 KiB
#include"combo.h" #include<bits/stdc++.h> #define ll long long #define endl "\n" using namespace std; char a[4] = {'A', 'B', 'X', 'Y'}; ll n; string sequence(ll N) { n = N; string s = ""; for(ll i = 1; i <= n; i++) { ll loc = 0; ll ret = 0; while(ret != i) ret = press(s + a[loc]); s += a[loc]; } return s; }

Compilation message (stderr)

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