# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
62577 | imsifile | The Ant Doing Hard Work (FXCUP3_ant) | C++14 | 3 ms | 392 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 mi=1, mx=99999999, md, dap;
int FindK() {
int fir = DeliverCount(66666666);
mi = 66666666/(fir+1)+1;
if(fir) mx = 66666666/fir;
while(1){
md = (mi+mx)/2;
if(mi==mx) break;
int C = DeliverCount(md);
if(C) mx=md;
else mi=md+1;
}
return md;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |