실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘insert’: Main.c:29:17: error: ‘NewNode’ undeclared (first use in this function); did you mean ‘newNode’? 29 | tmp->next = NewNode; | ^~~~~~~ | newNode Main.c:29:17: note: each undeclared identifier is reported only once for each function it appears in Main.c:12:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 12 | scanf("%d %s",&newNode->age,newNode->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Main.c: In function ‘main’: Main.c:41:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 41 | scanf("%d",&N); | ^~~~~~~~~~~~~~ Main.c:44:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | scanf("%d %s",&(head->age),head->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.