실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void add_ledder(int)’: Main.cpp:77:27: error: too many arguments to function ‘void add_ledder(int)’ 77 | add_ledder(cur_ledder + 1, i, j); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ Main.cpp:41:6: note: declared here 41 | void add_ledder(int cur_ledder) { | ^~~~~~~~~~ Main.cpp: In function ‘int main()’: Main.cpp:100:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 100 | if (found = false) { | ~~~~~~^~~~~~~ Main.cpp:88:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 88 | scanf("%d %d %d", &col, &ledder_cnt, &row); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Main.cpp:93:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 93 | scanf("%d %d", &a, &b); // a = row, b = col if ledder[a][b] == true 이면 가로 a위치 세로b 위치 일 때 b + 1로 이동 함 | ~~~~~^~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.