실행 실패 (제출 코드 컴파일 에러)
Main.c:12:6: error: conflicting types for ‘remove’; have ‘void(int)’ 12 | void remove(int x) { | ^~~~~~ In file included from Main.c:1: /usr/include/stdio.h:152:12: note: previous declaration of ‘remove’ with type ‘int(const char *)’ 152 | extern int remove (const char *__filename) __THROW; | ^~~~~~ Main.c: In function ‘main’: Main.c:48:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 48 | scanf("%d", &M); | ^~~~~~~~~~~~~~~ Main.c:53:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 53 | scanf("%s", command); | ^~~~~~~~~~~~~~~~~~~~ Main.c:55:13: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 55 | scanf("%d", &x); | ^~~~~~~~~~~~~~~ Main.c:58:13: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 58 | scanf("%d", &x); | ^~~~~~~~~~~~~~~ Main.c:61:13: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 61 | scanf("%d", &x); | ^~~~~~~~~~~~~~~ Main.c:64:13: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 64 | scanf("%d", &x); | ^~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.