[20251211] BOJ / G4 / 알고리즘 수업 - 행렬 경로 문제 4 / 설진영 #1646
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.
🧷 문제 링크
https://www.acmicpc.net/problem/24427
🧭 풀이 시간
45분
👀 체감 난이도
✏️ 문제 설명
n×n 행렬에서 (1,1)에서 (n,n)까지 오른쪽 또는 아래로만 이동하며 최대 점수를 구하는 문제
단, P개의 중간 지점 중 최소 하나는 반드시 거쳐야 함
🔍 풀이 방법
fromStart[r][c] + toEnd[r][c] - m[r][c]
⏳ 회고
어렵네...