[20251123] BOJ / G5 / 홀수 홀릭 호석 / 이준희 #1485
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/20164
🧭 풀이 시간
20분
👀 체감 난이도
✏️ 문제 설명
호석이에게 주어진 수를 다음과 같은 로직으로 처리할 때 최종 결과값의 최소, 최대값을 구하는 문제입니다.
🔍 풀이 방법
분기를 만들어서 dfs를 돌렸습니다.
각 조건 별로 로직을 만들어서 풀었습니다.
⏳ 회고
그냥 모든 경우의 수 다 돌렸는데 통과 했습니다.