Submission #28471

#TimeUsernameProblemLanguageResultExecution timeMemory
28471not good but never sad (#68)LR Springboard (FXCUP2_springboard)C++98
0 / 1
0 ms1128 KiB
#include "springboard.h"

void Reorder(int N) {
	int l = 1, r = N;
	while (l <= r){
		int m = (l + r) / 2;
		if (PutBall(m) == -1) l = m + 1;
		else r = m - 1;
	}
}
#Verdict Execution timeMemoryGrader output
Fetching results...