| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 71776 | λf.(λx.f (x x)) (λx.f (x x)) (#119) | 일하는 개미 (FXCUP3_ant) | C++98 | 3 ms | 440 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "ant.h"
#include <algorithm>
using namespace std;
int FindK() {
int lo = 1;
int hi = 99999999;
int init = 66666666;
int c = DeliverCount(init);
if (c == 0) lo = init + 1;
else {
hi = init/c;
lo = init/(c+1);
}
while(lo < hi){
int mid = (lo+hi)>>1;
if (DeliverCount(mid))hi=mid;
else lo=mid+1;
}
return lo;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
