(int x, int y)
| 70 | } |
| 71 | |
| 72 | public static int getCut(int x, int y) { |
| 73 | int a = Math.min(x, y); |
| 74 | int b = Math.max(x, y); |
| 75 | Integer ans = cutMap.get(((long) a << 32) | b); |
| 76 | return ans == null ? 0 : ans; |
| 77 | } |
| 78 | |
| 79 | public static void tarjan(int u, int preEdge) { |
| 80 | dfn[u] = low[u] = ++cntd; |