# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
62579 | 2018-07-29T08:03:28 Z | 검수컵(#1978, imsifile) | The Ant Doing Hard Work (FXCUP3_ant) | C++ | 2 ms | 248 KB |
#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 time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 2 ms | 248 KB | Execution failed because the return code was nonzero |
2 | Halted | 0 ms | 0 KB | - |