Submission #99229

#TimeUsernameProblemLanguageResultExecution timeMemory
99229figter001Hotter Colder (IOI10_hottercolder)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; typedef unsigned long long ull; int HC(int N){ if(N == 1)return 1; int lo = 1,hi = N,md; while(lo <= hi){ md = (lo + hi)/2; Guess(lo); int res = Guess(hi); if(res == 0)return md; if(res == 1) lo = md+1; else hi = md; } return lo; }

Compilation message (stderr)

hottercolder.cpp: In function 'int HC(int)':
hottercolder.cpp:14:3: error: 'Guess' was not declared in this scope
   Guess(lo);
   ^~~~~