실행 실패 (제출 코드 컴파일 에러)
Main.c:62:12: error: expected declaration specifiers or ‘...’ before string constant 62 | printf("%d>",CQ_Dequeue(Queue)); | ^~~~~ Main.c:62:18: error: expected declaration specifiers or ‘...’ before ‘CQ_Dequeue’ 62 | printf("%d>",CQ_Dequeue(Queue)); | ^~~~~~~~~~ Main.c:63:5: warning: data definition has no type or storage class 63 | CQ_DestroyQueue(Queue); | ^~~~~~~~~~~~~~~ Main.c:63:5: warning: type defaults to ‘int’ in declaration of ‘CQ_DestroyQueue’ [-Wimplicit-int] Main.c:63:5: warning: parameter names (without types) in function declaration Main.c:63:5: error: conflicting types for ‘CQ_DestroyQueue’; have ‘int()’ Main.c:25:6: note: previous definition of ‘CQ_DestroyQueue’ with type ‘void(CQQ *)’ {aka ‘void(struct tagCircularQueue *)’} 25 | void CQ_DestroyQueue(CQQ* Q){ | ^~~~~~~~~~~~~~~ Main.c:64:5: error: expected identifier or ‘(’ before ‘return’ 64 | return 0; | ^~~~~~ Main.c:65:1: error: expected identifier or ‘(’ before ‘}’ token 65 | } | ^ Main.c: In function ‘main’: Main.c:50:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 50 | scanf("%d %d",&N,&K); | ^~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.