# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
28716 | 일단아무거나적어놓은팀이름 (#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"
int n;
void Reorder(int N) {
n = N;
int lo = 1, hi = N;
while(lo < hi) {
int mid = (lo + hi) >> 1;
int q = PutBall(mid);
if(q == 1) {
PutBall(N);
hi = mid;
} else {
lo = mid;
}
}
PutBall(N);
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |