[dp로 풀어내신 다른분의 코드](https://code-angie.tistory.com...)를 봤는데도, 같은 로직이라고 여겨집니다.

뭐가 문제인 걸까요..

반례

answer: 2

output: 1

댓글을 작성하려면 로그인해야 합니다.