| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 957770 | hirayuu_oj | Lost in the cycle (IOI19_cycle) | C++17 | 1 ms | 344 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "cycle.h"
#include<bits/stdc++.h>
using namespace std;
using ll=long long;
void escape(int n) {
while(true){
if(jump(n/2))break;
}
ll jmp=1;
while(jmp*2<=n/2-1){
jmp*=2;
}
while(jmp){
if(!jump(jmp)){
jump(n-jmp);
}
jmp/=2;
}
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
