(int u, int v, int w)
| 45 | public static PriorityQueue<int[]> heap = new PriorityQueue<>((a, b) -> a[2] - b[2]); |
| 46 | |
| 47 | public static void addEdge(int u, int v, int w) { |
| 48 | nxt[++cntg] = head[u]; |
| 49 | to[cntg] = v; |
| 50 | weight[cntg] = w; |
| 51 | head[u] = cntg; |
| 52 | } |
| 53 | |
| 54 | public static int buildOut(int l, int r) { |
| 55 | int rt; |
no outgoing calls
no test coverage detected