Submission #62577

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