[20251213] BOJ / G2 / 로봇 조종하기 / 김민진 #1665
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🧷 문제 링크
로봇 조종하기
🧭 풀이 시간
50분
👀 체감 난이도
✏️ 문제 설명
왼쪽, 오른쪽, 아래로 움직일 수 있을 때
(1, 1)에서(N, M)까지 도달할 때 탐사한 지역의 가치의 최댓값🔍 풀이 방법
dp배열에 저장가치는 음수일 수 있기 때문에 dp 배열들을 0으로 초기화하면 안됨
⏳ 회고
음수가 나올 때 적절하게 초기화하기