Skip to content

Conversation

@LiiNi-coder
Copy link
Contributor

🧷 문제 링크

https://school.programmers.co.kr/learn/courses/30/lessons/12980

🧭 풀이 시간

10 분

👀 체감 난이도

✏️ 문제 설명

  • 0에서 부터 시작해서 n까지 만드는데 드는 소모량을 출력. 두가지 연산 존재. 첫번째는 현재수에서 1더하는것(이때 소모량++), 두번째는 현재수에서 곱하기2하는것(소모량 안듬). 이 두가지 연산을 이용해서 최소 소모량 출력

🔍 풀이 방법

  • 거꾸로부터 + 그리디

⏳ 회고

  • 저번에 거꾸로에서 시작하면 좋다는 것을 떠올려서 풀기쉬웠던 문제

@LiiNi-coder LiiNi-coder added the success 👍 해설을 보지 않고 풀었을 때 label Oct 31, 2025
@ShinHeeEul ShinHeeEul merged commit e7d7c9e into main Oct 31, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

success 👍 해설을 보지 않고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants