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>
#include "grader.h"
int HC(int N)
{
int lo = 1, hi = N;
while (lo < hi)
{
int mid = (lo + hi) / 2;
Guess(mid);
if (Guess(mid + 1) > 0)
lo = mid + 1;
else
hi = mid;
}
return lo;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |