Skip to content

Conversation

@lkhyun
Copy link
Contributor

@lkhyun lkhyun commented Apr 28, 2025

🧷 문제 링크

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

🧭 풀이 시간

60분

👀 체감 난이도

✏️ 문제 설명

10000미만의 양의 정수에 대하여 4가지 연산을 진행할때 특정 값을 만드는 가장 적은 연산을 출력

🔍 풀이 방법

BFS

⏳ 회고

6초나 주니까 각각의 연산을 매 순간 모두 진행하고 같아질 때 break
BFS로 최소 길이로 만들어지는 게 보장되니까 매 순간 어떤 연산을 통해 만들었는지를 연결하고
마지막에 거꾸로 출력했음.

@lkhyun lkhyun added the hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때 label Apr 28, 2025
@ShinHeeEul ShinHeeEul merged commit e4b5f5b into main Apr 28, 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