Skip to content

Commit 441dcfd

Browse files
committed
Fixed format
1 parent cd6caf8 commit 441dcfd

File tree

1 file changed

+0
-3
lines changed
  • src/main/java/g3601_3700/s3671_sum_of_beautiful_subsequences

1 file changed

+0
-3
lines changed

src/main/java/g3601_3700/s3671_sum_of_beautiful_subsequences/Solution.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ public int totalBeauty(int[] nums) {
5353
}
5454
}
5555
}
56-
5756
// Inclusion–exclusion to get exact gcd counts
5857
long[] exact = new long[maxV + 1];
5958
for (int g = maxV; g >= 1; g--) {
@@ -66,7 +65,6 @@ public int totalBeauty(int[] nums) {
6665
}
6766
exact[g] = s;
6867
}
69-
7068
long ans = 0;
7169
for (int g = 1; g <= maxV; g++) {
7270
if (exact[g] != 0) {
@@ -81,7 +79,6 @@ public int totalBeauty(int[] nums) {
8179

8280
private static final class Fenwick {
8381
private final long[] tree;
84-
8582
Fenwick(int size) {
8683
this.tree = new long[size];
8784
}

0 commit comments

Comments
 (0)