# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
71756 | 2018-08-25T14:39:31 Z | tamref_official_fanclub(#2249, imeimi2000) | The Ant Doing Hard Work (FXCUP3_ant) | C++ | 2 ms | 256 KB |
#include "ant.h" int FindK(){int s=1,e=99999999;while(s<e){int m=(s+e+e)/3;int ret=DeliverCount(m);if(ret==0)s=m+1;else if(ret==1) s=m/2+1,e=m;else e=m/2;}return s;}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 2 ms | 256 KB | Execution failed because the return code was nonzero |
2 | Halted | 0 ms | 0 KB | - |