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