Submission #1132218

#TimeUsernameProblemLanguageResultExecution timeMemory
1132218bobthescienceCombo (IOI18_combo)C++20
Compilation error
0 ms0 KiB
#include<bits/stdc++> #include "combo.h" std::string guess_sequence(int N) { string p = ""; int r = 1, ord; vector<char> add = {'A', 'B', 'X', 'Y'}; for (char c :add) { if (press(c)) { add.erase(c); break; } } while (r < n) { for (char c :add) { if (press(p + c) > r) { r++; p += c; break } } } return p; }

Compilation message (stderr)

combo.cpp:1:9: fatal error: bits/stdc++: No such file or directory
    1 | #include<bits/stdc++>
      |         ^~~~~~~~~~~~~
compilation terminated.