# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
71712 | 퍼솔 가즈아ㅏㅏㅏ (#119) | The Ant Doing Hard Work (FXCUP3_ant) | C++14 | 3 ms | 468 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 l = 0, r = 133333334;
while(r-l>1){
int m=(l+r)/2;
int t=DeliverCount(m);
l=m/(t+1)>l?m/(t+1):l;
if(t>0) r=m/t<r?m/t:r;
if(r>100000000) r=100000000;
}
return r;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |