Submission #28568

#TimeUsernameProblemLanguageResultExecution timeMemory
28568Sorry AcornCkiGuiziTeam (#68)LR Springboard (FXCUP2_springboard)C++14
1 / 1
3 ms1128 KiB
#include "springboard.h" #include <cstdio> void Reorder(int N) { int i, T = 1; for (i = 8192; i; i >>= 1) if (i <= N) { if (T < 0) T = PutBall(i); else T = PutBall(N - i + 1); } if (T < 0) PutBall(1); }
#Verdict Execution timeMemoryGrader output
Fetching results...