Submission #151208

# Submission time Handle Problem Language Result Execution time Memory
151208 2019-09-02T07:59:58 Z neki Lost in the cycle (IOI19_cycle) C++14
0 / 100
2 ms 248 KB
#include "cycle.h"
 
void escape(int n) {
int l=0,r=n-1;
while(l<r){
int j=n-(l+r)/2;
l+=j;r+=j;l%=n;r%=n;
if(jump(j)) l=0;
else r=0;
}
}
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 248 KB The exit was not found.
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 248 KB Invalid argument.
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 248 KB The exit was not found.
2 Halted 0 ms 0 KB -