제출 #1129901

#제출 시각아이디문제언어결과실행 시간메모리
1129901pedreitorzelda콤보 (IOI18_combo)C++20
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h>
#include <combo.h>
using namespace std;
string guess_sequence(int N){
    string ans = "";
    vector<char>possible = {'A','B','X','Y'};
    for(int i=0;i<N;i++){
        for(int j=0;j<3;j++){
            string q = ans+possible[j];
            int tmp = press(q);
            if(tmp==i+1){
                ans+=possible[j];
                break;
            }
        }if(ans.size()==i)ans+=possible[3];
    }
    return ans;
}

컴파일 시 표준 에러 (stderr) 메시지

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