실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘insert’: Main.c:12:9: error: ‘head’ undeclared (first use in this function); did you mean ‘haed’? 12 | if(*head->num > n){ | ^~~~ | haed Main.c:12:9: note: each undeclared identifier is reported only once for each function it appears in Main.c: In function ‘main’: Main.c:38:16: error: expected expression before ‘Node’ 38 | insert(Node* head,n) | ^~~~ Main.c:38:9: error: too few arguments to function ‘insert’ 38 | insert(Node* head,n) | ^~~~~~ Main.c:9:6: note: declared here 9 | void insert(Node** haed, int n){ | ^~~~~~ Main.c:38:29: error: expected ‘;’ before ‘}’ token 38 | insert(Node* head,n) | ^ | ; 39 | } | ~ Main.c:32:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 32 | scanf("%d %d",&N,&n); | ^~~~~~~~~~~~~~~~~~~~ Main.c:37:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 37 | scanf("%d",&n); | ^~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.