Skip to content

Conversation

@suyeun84
Copy link
Contributor

🧷 문제 링크

https://www.acmicpc.net/problem/1038

🧭 풀이 시간

45분

👀 체감 난이도

✏️ 문제 설명

정수 X의 자릿수가 가장 큰 자릿수부터 작은 자릿수까지 감소한다면, 그 수를 감소하는 수라고 함
N번째 감소하는 수를 구하기 / 없으면 -1 출

🔍 풀이 방법

재귀함수 이용해서 현재 자릿수의 수보다 작은 수를 그 뒤에 계속 추가

⏳ 회고

간단한데 어렵다..

@suyeun84 suyeun84 self-assigned this Jul 14, 2025
@suyeun84 suyeun84 added the hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때 label Jul 14, 2025
@ShinHeeEul ShinHeeEul merged commit 6b70057 into main Jul 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants