실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void backtrack(int, int, int)’: Main.cpp:67:16: error: ‘prev_d’ was not declared in this scope 67 | if(i==(prev_d+2)%4) continue; | ^~~~~~ Main.cpp:73:22: error: too many arguments to function ‘void backtrack(int, int, int)’ 73 | backtrack(r, blue, rank+1, -1); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ Main.cpp:64:6: note: declared here 64 | void backtrack(int r, int b, int rank){ | ^~~~~~~~~ Main.cpp:79:22: error: too many arguments to function ‘void backtrack(int, int, int)’ 79 | backtrack(red, blue, rank+1, i); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ Main.cpp:64:6: note: declared here 64 | void backtrack(int r, int b, int rank){ | ^~~~~~~~~ Main.cpp:84:22: error: too many arguments to function ‘void backtrack(int, int, int)’ 84 | backtrack(red, blue, rank+1, i); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ Main.cpp:64:6: note: declared here 64 | void backtrack(int r, int b, int rank){ | ^~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.