diff --git "a/\352\267\270\353\236\230\355\224\204/P1854_K\353\262\210\354\247\270\354\265\234\353\213\250\352\262\275\353\241\234\354\260\276\352\270\260.java" "b/\352\267\270\353\236\230\355\224\204/P1854_K\353\262\210\354\247\270\354\265\234\353\213\250\352\262\275\353\241\234\354\260\276\352\270\260.java" index f92d565..490632b 100644 --- "a/\352\267\270\353\236\230\355\224\204/P1854_K\353\262\210\354\247\270\354\265\234\353\213\250\352\262\275\353\241\234\354\260\276\352\270\260.java" +++ "b/\352\267\270\353\236\230\355\224\204/P1854_K\353\262\210\354\247\270\354\265\234\353\213\250\352\262\275\353\241\234\354\260\276\352\270\260.java" @@ -14,7 +14,7 @@ public static void main(String[] args) throws IOException { M = Integer.parseInt(st.nextToken()); K = Integer.parseInt(st.nextToken()); PriorityQueue[] distQueue = new PriorityQueue[N + 1]; - Comparator cp = new Comparator() { // 오름차순으로 정렬 기준 설정 + Comparator cp = new Comparator() { // 내림차순으로 정렬 기준 설정 @Override public int compare(Integer o1, Integer o2) { return o1 < o2 ? 1 : -1;