실행 실패 (제출 코드 컴파일 에러)
Main.c:5:5: error: unknown type name ‘CARD’ 5 | CARD *next; | ^~~~ Main.c: In function ‘main’: Main.c:16:19: warning: assignment to ‘int *’ from incompatible pointer type ‘CARD *’ [-Wincompatible-pointer-types] 16 | prev->next=new; | ^ Main.c:20:14: warning: comparison of distinct pointer types lacks a cast 20 | while(ans!=ans->next){ | ^~ Main.c:21:13: warning: assignment to ‘CARD *’ from incompatible pointer type ‘int *’ [-Wincompatible-pointer-types] 21 | temp=ans->next; | ^ Main.c:24:12: warning: assignment to ‘CARD *’ from incompatible pointer type ‘int *’ [-Wincompatible-pointer-types] 24 | ans=ans->next; | ^ Main.c:9:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 9 | scanf("%d",&n); | ^~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.