실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:29:5: error: expected ‘,’ or ‘;’ before ‘int’ 29 | int cnt = 1; | ^~~ Main.cpp:31:29: error: ‘cnt’ was not declared in this scope; did you mean ‘int’? 31 | if(v[i] > v[i - 1]) cnt++; | ^~~ | int Main.cpp:34:13: error: ‘cnt’ was not declared in this scope; did you mean ‘int’? 34 | cout << cnt; | ^~~ | int
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.