# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
71730 | 본대회 참가못해요 흑흑 (#119) | 일하는 개미 (FXCUP3_ant) | C++98 | 3 ms | 576 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"
#include <bits/stdc++.h>
using namespace std;
int l=1,r=1e8-1,ans=r;
int FindK()
{
while(l<=r){
int m=(l+r)/2,v=DeliverCount(m);
if(v==0) l=m+1;
else{
if(v==1) ans=min(ans,m);
r=m-1;
}
}
return ans;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |