Submission #74350

#TimeUsernameProblemLanguageResultExecution timeMemory
74350khsoo01Bulb Game (FXCUP2_bulb)C++11
1 / 1
3 ms700 KiB
#include "bulb.h" bool vis[1005]; void Init(int N) {} int MakeTurn(int M) { vis[M] = true; for(int i=1;;i++) { if(!vis[i]) {vis[i] = true; return i;} } }
#Verdict Execution timeMemoryGrader output
Fetching results...