Skip to content

Conversation

@zinnnn37
Copy link
Contributor

@zinnnn37 zinnnn37 commented Oct 30, 2025

🧷 문제 링크

빠른 무작위 메시지 전달

🧭 풀이 시간

30분

👀 체감 난이도

✏️ 문제 설명

12명의 사람이 있고 친구 그룹 (i, i+1)으로 구성됨
한 그룹에서 다른 그룹으로 메시지를 전달하는데 한 그룹 내에서 메시지를 전달 받은 사람은 그룹의 다른 사람에게 전달하고 메시지를 전달 받은 사람이 다른 그룹에 메시지를 전달함
메시지를 전달할 수 있는 최소 비용

🔍 풀이 방법

백트래킹

⏳ 회고

그룹 내에서도 메시지 전달 비용이 든다.. 문제를 잘 읽자
그리고 next → next + 1을 했으면 다음 시작점은 next + 1인데 next로 해놔서 계속 틀렸음

@ShinHeeEul ShinHeeEul merged commit 6c5b74c into main Oct 30, 2025
1 check passed
@zinnnn37 zinnnn37 added the success 👍 해설을 보지 않고 풀었을 때 label Oct 30, 2025
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