실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:35:20: error: ‘arr’ was not declared in this scope 35 | dp[0][1] = arr[0][1]; | ^~~ Main.cpp:38:28: error: ‘n’ was not declared in this scope 38 | for (int j = 2;j < n + 1;j++) { | ^ Main.cpp:43:27: error: ‘n’ was not declared in this scope 43 | cout << max(dp[0][n], dp[1][n]) << '\n'; | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.