실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void push(int, int, int, int)’: Main.cpp:18:51: error: ‘flag’ was not declared in this scope 18 | if(x<1||x>n||y<1||y>m||z<1||z>h||!a[x][y][z]||flag) | ^~~~ Main.cpp: In function ‘int main()’: Main.cpp:53:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 53 | scanf("%d %d %d",&m,&n,&h); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ Main.cpp:62:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 62 | scanf("%d",&save); | ~~~~~^~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.