Submission #71777

#TimeUsernameProblemLanguageResultExecution timeMemory
71777Give_Me_Vita (#119)The Ant Doing Hard Work (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...