실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:63:42: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘int’ [-Wformat=] 63 | scanf("%1d", map[i][j][k]); | ~~^ ~~~~~~~~~~~~ | | | | int * int Main.c:74:56: warning: statement with no effect [-Wunused-value] 74 | visit[i][j][k] == 1; | ~~~~~~~~~~~~~~~^~~~ Main.c:58:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 58 | scanf("%d %d %d", &m, &n, &h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Main.c:63:33: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 63 | scanf("%1d", map[i][j][k]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/aarch64-linux-gnu/11/../../../aarch64-linux-gnu/libc.a(abort.o): in function `abort': (.text.unlikely+0x10): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against `.bss' /usr/lib/gcc/aarch64-linux-gnu/11/../../../aarch64-linux-gnu/libc.a(init-first.o): in function `__libc_init_first': (.text+0x8): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against `.bss' /tmp/ccKTOTGi.o: in function `bfs': Main.c:(.text+0xc4): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol `dist' defined in .bss section in /tmp/ccKTOTGi.o Main.c:(.text+0x104): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol `map' defined in .bss section in /tmp/ccKTOTGi.o Main.c:(.text+0x10c): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol `visit' defined in .bss section in /tmp/ccKTOTGi.o /tmp/ccKTOTGi.o: in function `main': Main.c:(.text.startup+0x54): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol `map' defined in .bss section in /tmp/ccKTOTGi.o Main.c:(.text.startup+0x84): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol `visit' defined in .bss section in /tmp/ccKTOTGi.o Main.c:(.text.startup+0x90): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol `dist' defined in .bss section in /tmp/ccKTOTGi.o Main.c:(.text.startup+0x118): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol `visit' defined in .bss section in /tmp/ccKTOTGi.o Main.c:(.text.startup+0x134): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol `map' defined in .bss section in /tmp/ccKTOTGi.o Main.c:(.text.startup+0x1d8): additional relocation overflows omitted from the output collect2: error: ld returned 1 exit status
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.