# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1008339 | ALTAKEXE | Hotter Colder (IOI10_hottercolder) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
int HC(int N)
{
int g = Guess(1);
int h = Guess(N);
if (g == 0)
return N / 2;
if (g < 0)
return N / 4;
if (g > 0)
return 3 * N / 4;
return 0;
}