Skip to content

Commit cbceb02

Browse files
committed
modify code
1 parent 008e54c commit cbceb02

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/class183/Code01_CentroidDecomposition1.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ public class Code01_CentroidDecomposition1 {
3131
public static int[] arr = new int[MAXV];
3232
public static int[] que = new int[MAXV];
3333
public static boolean[] pre = new boolean[MAXV];
34-
public static int cnta;
35-
public static int cntq;
34+
public static int cnta, cntq;
3635

3736
public static boolean[] ans = new boolean[MAXN];
3837

src/class183/Code01_CentroidDecomposition2.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
//int arr[MAXV];
3030
//int que[MAXV];
3131
//bool pre[MAXV];
32-
//int cnta;
33-
//int cntq;
32+
//int cnta, cntq;
3433
//
3534
//bool ans[MAXN];
3635
//

0 commit comments

Comments
 (0)