제출 #71715

#제출 시각아이디문제언어결과실행 시간메모리
71715chobo (#119)일하는 개미 (FXCUP3_ant)C++98
90 / 100
3 ms424 KiB
#include "ant.h"

#include <stdio.h>
#include <algorithm>
using namespace std;

int FindK() {
	int s=1,e=1e8,m;

	while(s<=e){
        m=(s+e)>>1;

        if(DeliverCount(m)) e=m-1;
        else s=m+1;
	}

	return s;
}
#Verdict Execution timeMemoryGrader output
Fetching results...