# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
137037 | 2019-07-27T01:39:21 Z | WongHokFong_cpp | Hotter Colder (IOI10_hottercolder) | C++14 | 0 ms | 0 KB |
#include "grader.h" #include <iostream> #include <cstdio> using namespace std; int HC(int N) { Guess(1); for (int i=2;i<=N;i++) { int gu=Guess(i) if (gu==-1) return 1; if (gu==0) return i-1; } return N; }