Submission #28716

#TimeUsernameProblemLanguageResultExecution timeMemory
28716일단아무거나적어놓은팀이름 (#68)LR Springboard (FXCUP2_springboard)C++14
0 / 1
0 ms1128 KiB
#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 timeMemoryGrader output
Fetching results...