제출 #401669

#제출 시각아이디문제언어결과실행 시간메모리
401669phathnvHotter Colder (IOI10_hottercolder)C++11
컴파일 에러
0 ms0 KiB
#include<bits/stdc++.h> #include"hottercolder.h" using namespace std; int HC(int n){ if (n == 1) return 1; int l = 1, r = n, type = 0; Guess(l); while (true){ if (!type){ int x = Guess(r); if (x == 0) return (l + r) / 2; if (x == 1){ l = (l + r) / 2; type = 1; } else { r = (l + r) / 2; type = 0; } } else { int x = Guess(l); if (x == 0) return (l + r) / 2; if (x == 1){ r = (l + r) / 2; type = 0; } else { l = (l + r) / 2; type = 1; } } } }

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

hottercolder.cpp:2:9: fatal error: hottercolder.h: No such file or directory
    2 | #include"hottercolder.h"
      |         ^~~~~~~~~~~~~~~~
compilation terminated.