# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
71780 | Give_Me_Vita (#119) | The Ant Doing Hard Work (FXCUP3_ant) | C++17 | 3 ms | 604 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 "ant.h"
int FindK()
{
int s = 1;
int g = 99999999;
while(s < g)
{
int x = (s + g) / 2;
int t = DeliverCount(x);
if(t > 1)
g = x - 1;
else if(t == 1)
g = x;
else
s = x + 1;
}
return s;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |