Submission #62578

#TimeUsernameProblemLanguageResultExecution timeMemory
62578imsifileThe Ant Doing Hard Work (FXCUP3_ant)C11
0 / 100
2 ms248 KiB
#include "ant.h" int mi=1, mx=99999999, md, dap; int FindK() { while(1){ md = (mi+mx)/2; if(mi==mx) break; int C = DeliverCount(md); mi = md/(C+1)+1; if(C) mx = md/C; } return md; }
#Verdict Execution timeMemoryGrader output
Fetching results...