Skip to content

Commit 4e5c3c2

Browse files
committed
Fixed sonar
1 parent 0823d4d commit 4e5c3c2

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/g3501_3600/s3574_maximize_subarray_gcd_score

1 file changed

+1
-1
lines changed

src/main/kotlin/g3501_3600/s3574_maximize_subarray_gcd_score/Solution.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Solution {
1212
mx = max(mx, x)
1313
}
1414
val width = 32 - Integer.numberOfLeadingZeros(mx)
15-
val lowBitPos: Array<MutableList<Int>> = Array<MutableList<Int>>(width) { i: Int -> ArrayList<Int>() }
15+
val lowBitPos: Array<MutableList<Int>> = Array<MutableList<Int>>(width) { _ -> ArrayList<Int>() }
1616
val intervals = Array<IntArray>(width + 1) { IntArray(3) }
1717
var size = 0
1818
var ans: Long = 0

0 commit comments

Comments
 (0)