실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘insert’: Main.c:16:44: error: expected statement before ‘)’ token 16 | if(strcmp((*head)->data, c)==0)) | ^ Main.c:27:50: error: expected statement before ‘)’ token 27 | if(strcmp(tmp->next->data, c)==0)) | ^ Main.c:11:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 11 | scanf("%s",c); | ^~~~~~~~~~~~~ Main.c: In function ‘main’: Main.c:42:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 42 | scanf("%d",&N); | ^~~~~~~~~~~~~~ Main.c:44:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | scanf("%s",c); | ^~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.