| # | Time | Username | Problem | Language | Result | Execution time | Memory | 
|---|---|---|---|---|---|---|---|
| 28441 | 쥬니님일어나세요 버스운전해주시기로했잖아요 (#68) | LR Springboard (FXCUP2_springboard) | C++11 | 3 ms | 1128 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 "springboard.h"
void Reorder(int N) {
    int n = N;
    PutBall((n+1)/2);
    int t = PutBall((n+1)/2);
    int x = (n+1)/2;
    for(int i=0;i<14;i++){
        x = (x+1) /2;
        if (x == 1) {
            int q;
            q = PutBall(t == -1 ? 1 : n);
            if (q == -1)PutBall(1);
            break;
        }
        if (t == -1) {
            t = PutBall(x);
        }
        else {
            t = PutBall(n-x+1);
        }
    }
}
| # | Verdict | Execution time | Memory | Grader output | 
|---|---|---|---|---|
| Fetching results... | ||||
