Submission #1303251

#TimeUsernameProblemLanguageResultExecution timeMemory
1303251yusifmCombo (IOI18_combo)C++20
Compilation error
0 ms0 KiB
//pragma GCC optimize("O3") #include <bits/stdc++.H> #include "combo.h" using namespace std; string guess_sequence(int n) { int num; string ans; num=press("AB"); if(num==2) { ans="AB"; } else { if(num==1) { num=press("X"); if(num==1) { ans='A'; } else { ans='B'; } } else { num=press("X"); if(num==1) { ans='X'; } else { ans='Y'; } } } while(ans.size()!=n) { num=press(ans+'A'); if(num==ans.size()) { ans+='A'; } else { num=press(ans+'B'); if(num==ans.size()) { ans+='B'; } else { num=press(ans+'X'); if(num==ans.size()) { ans+='X'; } else { ans+='Y'; } } } } return ans; }

Compilation message (stderr)

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