실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:5:22: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] 5 | char* c = (char*)malloc(8); | ^~~~~~ Main.c:2:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’ 1 | #include<stdio.h> +++ |+#include <stdlib.h> 2 | Main.c:5:22: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 5 | char* c = (char*)malloc(8); | ^~~~~~ Main.c:5:22: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’ Main.c:19:8: error: ‘t’ undeclared (first use in this function) 19 | n+=t; | ^ Main.c:19:8: note: each undeclared identifier is reported only once for each function it appears in
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.