# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
28539 | Sorry AcornCkiGuiziTeam (#68) | LR Springboard (FXCUP2_springboard) | C++14 | 0 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 L = 1;
int R = N;
while (L <= R) {
int M = L + R >> 1;
if (PutBall(M) < 0) L = M + 1;
else R = M - 1;
}
while (PutBall(1) != 1);
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |