실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:28:32: error: ‘midIdx’ was not declared in this scope; did you mean ‘minIdx’? 28 | int maxIdx = max_Idx(v, N, midIdx) | ^~~~~~ | minIdx 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
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.