실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:7:9: error: unknown type name ‘bool’ 7 | bool minus_possible; | ^~~~ Main.c:2:1: note: ‘bool’ is defined in header ‘<stdbool.h>’; did you forget to ‘#include <stdbool.h>’? 1 | #include<stdio.h> +++ |+#include <stdbool.h> 2 | char num[2000]; Main.c:13:34: error: ‘true’ undeclared (first use in this function) 13 | minus_possible = true; | ^~~~ Main.c:13:34: note: ‘true’ is defined in header ‘<stdbool.h>’; did you forget to ‘#include <stdbool.h>’? Main.c:13:34: note: each undeclared identifier is reported only once for each function it appears in Main.c:20:66: error: ‘false’ undeclared (first use in this function) 20 | minus_possible = false; | ^~~~~ Main.c:20:66: note: ‘false’ is defined in header ‘<stdbool.h>’; did you forget to ‘#include <stdbool.h>’? Main.c:8:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8 | scanf("%s%s", num, div); | ^~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.