Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a618fb4

Browse files
committedApr 1, 2025·
Fixed sonar
1 parent 603ec1d commit a618fb4

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/g3401_3500/s3500_minimum_cost_to_divide_array_into_subarrays

1 file changed

+1
-1
lines changed
 

‎src/main/java/g3401_3500/s3500_minimum_cost_to_divide_array_into_subarrays/Solution.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
public class Solution {
88
public long minimumCost(int[] nums, int[] cost, int k) {
99
int n = nums.length;
10-
long kLong = (long) k;
10+
long kLong = k;
1111
long[] preNums = new long[n + 1];
1212
long[] preCost = new long[n + 1];
1313
for (int i = 0; i < n; i++) {

0 commit comments

Comments
 (0)
Please sign in to comment.