제출 #28403

#제출 시각아이디문제언어결과실행 시간메모리
28403ㅁㄴㅇㄹ호 (#68)Bulb Game (FXCUP2_bulb)C++98
1 / 1
0 ms1128 KiB
#include "bulb.h"

void Init(int N) {
    // do nothing
}

int MakeTurn(int M) {
    if(M%2 == 1)
        return M+1;
    else
        return M-1;
}
#Verdict Execution timeMemoryGrader output
Fetching results...