실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:61:22: error: invalid type argument of ‘->’ (have ‘QueueType’) 61 | printf("%d", (q->data[front]); | ^~ Main.c:61:29: error: ‘front’ undeclared (first use in this function) 61 | printf("%d", (q->data[front]); | ^~~~~ Main.c:61:29: note: each undeclared identifier is reported only once for each function it appears in Main.c:61:36: error: expected ‘)’ before ‘;’ token 61 | printf("%d", (q->data[front]); | ~ ^ | ) Main.c:61:37: error: expected ‘;’ before ‘}’ token 61 | printf("%d", (q->data[front]); | ^ | ; 62 | } | ~ Main.c: In function ‘input’: Main.c:46:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 46 | scanf("%d", &n); | ^~~~~~~~~~~~~~~ Main.c:55:1: warning: control reaches end of non-void function [-Wreturn-type] 55 | } | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.