Skip to content

Commit 6632374

Browse files
committed
Fixed format
1 parent 441dcfd commit 6632374

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/main/java/g3601_3700/s3665_twisted_mirror_path_count/Solution.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ private int f(int i, int j, int dir, int[][] grid, int n, int m, int[][][] dp) {
4040
ways += f(i + 1, j, 1, grid, n, m, dp);
4141
ways += f(i, j + 1, 0, grid, n, m, dp);
4242
}
43-
return dp[i][j][dir] = (int) ways % MOD;
43+
dp[i][j][dir] = (int) ways % MOD;
44+
return dp[i][j][dir];
4445
}
4546
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public int totalBeauty(int[] nums) {
7979

8080
private static final class Fenwick {
8181
private final long[] tree;
82+
8283
Fenwick(int size) {
8384
this.tree = new long[size];
8485
}

0 commit comments

Comments
 (0)