실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:5:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘count_2’ 5 | int N, num_1,num_2 count_2=0, count_5=0; | ^~~~~~~ Main.c:14:17: error: ‘count_2’ undeclared (first use in this function) 14 | count_2++; | ^~~~~~~ Main.c:14:17: note: each undeclared identifier is reported only once for each function it appears in Main.c:20:13: error: ‘num_2’ undeclared (first use in this function); did you mean ‘num_1’? 20 | num_2 = i; | ^~~~~ | num_1 Main.c:22:17: error: ‘count_5’ undeclared (first use in this function) 22 | count_5++; | ^~~~~~~ Main.c:7:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 7 | scanf("%d", &N); | ^~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.