Skip to content

Conversation

@03do-new30
Copy link
Contributor

🧷 문제 링크

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

🧭 풀이 시간

15분

👀 체감 난이도

✏️ 문제 설명

  • 일부 학생들의 키 비교 결과가 주어졌을 때,
  • 전체 학생들의 키 순서를 출력한다.

🔍 풀이 방법

  • 주어지는 키 비교 결과를 유향 그래프로 보고 풀이한다.
  • 위상 정렬을 이용해야 하므로 그래프를 저장한 뒤 진입 차수를 구해준다.

⏳ 회고

  • 위상 정렬을 배워서 어렵지 않았다.

@03do-new30 03do-new30 added the success 👍 해설을 보지 않고 풀었을 때 label Mar 13, 2025
@ShinHeeEul ShinHeeEul merged commit edac2b0 into main Mar 13, 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