실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:8:9: error: redeclaration of ‘Ns’ with no linkage 8 | int Ns[M]; | ^~ Main.c:7:9: note: previous declaration of ‘Ns’ with type ‘int[N]’ 7 | int Ns[N]; | ^~ Main.c:15:22: error: ‘Ms’ undeclared (first use in this function); did you mean ‘Ns’? 15 | scanf("%d", &Ms[i]); | ^~ | Ns Main.c:15:22: note: each undeclared identifier is reported only once for each function it appears in Main.c:5:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | scanf("%d", &N); | ^~~~~~~~~~~~~~~ Main.c:6:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6 | scanf("%d", &M); | ^~~~~~~~~~~~~~~ Main.c:11:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 11 | scanf("%d", &Ns[i]); | ^~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.