실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘input’: Main.c:60:14: warning: passing argument 1 of ‘init_queue’ from incompatible pointer type [-Wincompatible-pointer-types] 60 | init_queue(&q); | ^~ | | | QueueType ** Main.c:13:28: note: expected ‘QueueType *’ but argument is of type ‘QueueType **’ 13 | void init_queue(QueueType* q) { | ~~~~~~~~~~~^ Main.c:61:3: warning: implicit declaration of function ‘scnaf’; did you mean ‘scanf’? [-Wimplicit-function-declaration] 61 | scnaf("%d",&n); | ^~~~~ | scanf Main.c:63:19: error: expected ‘;’ before ‘}’ token 63 | printf("%d",n) | ^ | ; 64 | } | ~ Main.c: In function ‘game’: Main.c:57:1: warning: control reaches end of non-void function [-Wreturn-type] 57 | } | ^ Main.c: In function ‘input’: Main.c:68:1: warning: control reaches end of non-void function [-Wreturn-type] 68 | } | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.