Skip to content

Conversation

@LiiNi-coder
Copy link
Contributor

🧷 문제 링크

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

🧭 풀이 시간

50 분

👀 체감 난이도

✏️ 문제 설명

  • 무방향 가중치 그래프가 주어지고, 웜홀이라는 특수 간선이 주어진다. 이것은 음수 가중치를 가짐. 그래서 하나의 정점에서 그 정점에서 돌아올때, 가중치 합산이 음수가 되는것이 있도록 하는 정점이 존재하는지 여부 판단

🔍 풀이 방법

  • 벨만 포드

⏳ 회고

  • 오랜만에 벨만포드를 복습한 문제, 그리고 이문제에선 벨만포드라서 그냥 간선 덩어리로 graph를 표현 가능

@LiiNi-coder LiiNi-coder added the success 👍 해설을 보지 않고 풀었을 때 label Sep 1, 2025
@ShinHeeEul ShinHeeEul merged commit 0bf8b22 into main Sep 1, 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