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