실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void f(int, int)’: Main.cpp:376:12: error: ‘z’ was not declared in this scope 376 | if(ans<z)ans=z; | ^ Main.cpp:378:32: error: ‘z’ was not declared in this scope 378 | f(x+int(table[x][y]-'0'),y,z+1); | ^ Main.cpp: In function ‘int main()’: Main.cpp:394:6: error: too many arguments to function ‘void f(int, int)’ 394 | f(1,1,1); | ~^~~~~~~ Main.cpp:364:6: note: declared here 364 | void f(int x,int y) | ^ Main.cpp:391:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 391 | scanf("%c",&table[i][j]); | ~~~~~^~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.