(int n)
| 48 | public static int[][] stjump = new int[MAXN][LIMIT]; |
| 49 | |
| 50 | public static void build(int n) { |
| 51 | power = log2(n); |
| 52 | Arrays.fill(num, 1, n + 1, 0); |
| 53 | cnt = 1; |
| 54 | Arrays.fill(head, 1, n + 1, 0); |
| 55 | } |
| 56 | |
| 57 | public static void addEdge(int u, int v) { |
| 58 | next[cnt] = head[u]; |