실행 실패 (제출 코드 컴파일 에러)
Main.c:30:1: error: unknown type name ‘bool’ 30 | bool empty() | ^~~~ Main.c:3:1: note: ‘bool’ is defined in header ‘<stdbool.h>’; did you forget to ‘#include <stdbool.h>’? 2 | #include <stdlib.h> +++ |+#include <stdbool.h> 3 | struct STACK Main.c: In function ‘main’: Main.c:136:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 136 | scanf("%d", &size); | ^~~~~~~~~~~~~~~~~~ Main.c:139:17: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 139 | scanf("%d", &num); | ^~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.