# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
199319 | 2020-01-31T08:27:24 Z | mythos | Hotter Colder (IOI10_hottercolder) | C | 0 ms | 0 KB |
#include "grader.h" #include "hottercolder.h" int HC(int n) { if (n == 1) return n; int g = 1, r = Guess(g); while (r != -1 && g != n) { g = g + 1; r = Guess(g); } if (r == -1) return g - 1; else return g; }