실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘push’: Main.c:27:16: warning: ‘return’ with a value, in function returning void [-Wreturn-type] 27 | return 0; | ^ Main.c:25:6: note: declared here 25 | void push(StackType *s, element item) { | ^~~~ Main.c: In function ‘main’: Main.c:81:21: error: invalid type argument of ‘->’ (have ‘StackType’) 81 | if (s->top==-1) { | ^~ Main.c:53:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 53 | fgets(a, sizeof(a), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.