Submission #1268772

#TimeUsernameProblemLanguageResultExecution timeMemory
1268772MunkhErdeneCombo (IOI18_combo)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
#include <combo.h>
using namespace std;
#define BC ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define ll long long
#define pb push_back
#define _ << " " <<
string guess_sequence(int n){
    vector<char> chr({'A', 'B', 'X', 'Y'});
    string s = "";
    for(int i = 0; i < n; i++){
        for(auto c : chr){
            string b = s;
            b.pb(c);
            int x = press(b);
            if(x == b.size()){
                s = b;
                break;
            }
        }
    }
    return s;
}

Compilation message (stderr)

combo.cpp:2:10: fatal error: combo.h: No such file or directory
    2 | #include <combo.h>
      |          ^~~~~~~~~
compilation terminated.