제출 #1047240

#제출 시각아이디문제언어결과실행 시간메모리
1047240vjudge1Arranging Shoes (IOI19_shoes)C++17
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h>
using std::cin, std::cout, std::vector, std::set, std::endl, std::string, std::map,std::pair,std::max,std::min;
#include "combo.h"

string guess_sequence(int N) {
	if(N==3){
		string table[4] = {"A","B","X","Y"};
		for(int i=0;i<4;i++){
			for(int j=0;j<4 && j!=i;j++){
				for(int k=0;k<4 && k!=i;k++){
					string str = table[i]+table[j]+table[k];
					if(press(str)==3){
						return str;
					}
				}
			}
		}
	}
	return "";
}

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

shoes.cpp:3:10: fatal error: combo.h: No such file or directory
    3 | #include "combo.h"
      |          ^~~~~~~~~
compilation terminated.