Submission #71769

#TimeUsernameProblemLanguageResultExecution timeMemory
71769내일_개학이다_ㅠㅠ (#119)The Ant Doing Hard Work (FXCUP3_ant)C++98
90 / 100
3 ms508 KiB
#include "ant.h" int FindK(){ int ss = 1, ee = 99999999, ans = -1; while(ss <= ee){ int mid = (ss+ee)/2; int ret = DeliverCount(mid); if(ret > 0){ ans = mid; ee = mid - 1; }else{ ss = mid + 1; } } return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...