Skip to content

Commit 0740b60

Browse files
authored
Update Solution.java
1 parent 41f8716 commit 0740b60

File tree

1 file changed

+2
-1
lines changed
  • src/main/java/g3001_3100/s3068_find_the_maximum_sum_of_node_values

1 file changed

+2
-1
lines changed

Diff for: src/main/java/g3001_3100/s3068_find_the_maximum_sum_of_node_values/Solution.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
public class Solution {
77
public long maximumValueSum(int[] A, int k, int[][] edges) {
88
long res = 0;
9-
int d = 1 << 30, c = 0;
9+
int d = 1 << 30;
10+
int c = 0;
1011
for (int a : A) {
1112
int b = a ^ k;
1213
res += Math.max(a, b);

0 commit comments

Comments
 (0)