편집 시간: 2022년 5월 3일 오후 5:50

코드

Algorithm/1753.py at main · Junroot/Algorithm

풀이

힙을 이용한 다익스트라 알고리즘을 사용하면 구현이 가능하다.