실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:10:19: error: expected expression before ‘float’ 10 | sum+=temp(float)/max*100; | ^~~~~ Main.c:10:14: error: called object ‘temp’ is not a function or function pointer 10 | sum+=temp(float)/max*100; | ^~~~ Main.c:4:12: note: declared here 4 | int n, temp, max=0; | ^~~~ Main.c:6:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6 | scanf("%d", &n); | ^~~~~~~~~~~~~~~ Main.c:8:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8 | scanf("%d", &temp); | ^~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.