제출 #71777

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

int FindK()
{
    int s = 1;
    int g = 99999999;
    while(s < g)
    {
        int x = (s + g) / 2;
        if(DeliverCount(x) == 0)
            s = x + 1;
        else
            g = x;
    }
	return s;
}
#Verdict Execution timeMemoryGrader output
Fetching results...