실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:26:5: error: expected ‘,’ or ‘;’ before ‘int’ 26 | int n = 20; | ^~~ Main.cpp:39:13: error: ‘n’ was not declared in this scope 39 | n--; | ^ Main.cpp:40:16: error: ‘credis’ was not declared in this scope; did you mean ‘credits’? 40 | gpa += credis * g[grade]; | ^~~~~~ | credits Main.cpp:43:19: error: ‘n’ was not declared in this scope 43 | cout << gpa / n; | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.