실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:27:16: error: invalid conversion from ‘char’ to ‘const char*’ [-fpermissive] 27 | printf('\n'); | ^~~~ | | | char In file included from /usr/include/stdio.h:894, from Main.cpp:1: /usr/include/aarch64-linux-gnu/bits/stdio2.h:110:32: note: initializing argument 1 of ‘int printf(const char*, ...)’ 110 | printf (const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ Main.cpp:27:15: warning: format not a string literal and no format arguments [-Wformat-security] 27 | printf('\n'); | ~~~~~~^~~~~~ Main.cpp:5:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | scanf("%d %d", &N, &M); | ~~~~~^~~~~~~~~~~~~~~~~ Main.cpp:12:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 12 | scanf("%d", &arr[n][i][ii]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.