실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘input’: Main.c:60:14: error: incompatible type for argument 1 of ‘init_queue’ 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: In function ‘main’: Main.c:71:12: error: invalid type argument of unary ‘*’ (have ‘QueueType’) 71 | init_queue(*q); | ^~ 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 | } | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.