실행 실패 (제출 코드 컴파일 에러)
Main.cpp:1:1: error: expected unqualified-id before ‘for’ 1 | for (int i = 0; i < n - 1; i++) { | ^~~ Main.cpp:1:21: error: ‘n’ was not declared in this scope 1 | for (int i = 0; i < n - 1; i++) { | ^ Main.cpp:1:21: error: ‘n’ was not declared in this scope Main.cpp:1:21: error: ‘n’ was not declared in this scope Main.cpp:1:21: error: ‘n’ was not declared in this scope Main.cpp:1:21: error: ‘n’ was not declared in this scope Main.cpp:1:21: error: ‘n’ was not declared in this scope Main.cpp:1:21: error: ‘n’ was not declared in this scope Main.cpp:1:21: error: ‘n’ was not declared in this scope Main.cpp:1:21: error: ‘n’ was not declared in this scope Main.cpp:1:17: error: ‘i’ does not name a type 1 | for (int i = 0; i < n - 1; i++) { | ^ Main.cpp:1:28: error: ‘i’ does not name a type 1 | for (int i = 0; i < n - 1; i++) { | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.