| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 71692 | the_general (#119) | 일하는 개미 (FXCUP3_ant) | C++98 | 3 ms | 492 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "ant.h"
int FindK() {
int i=1,l=0,r=0;
while(i<100000000){
if(DeliverCount(i)==0){
i*=2;
}
else break;
}
l=i/2;
r=((i>=100000000)?100000000:i);
while(l<r-1){
int mid=(l+r)/2;
if(DeliverCount(mid)==0){
l=mid;
}
else r=mid;
}
return r;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
