We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0823d4d commit 4e5c3c2Copy full SHA for 4e5c3c2
src/main/kotlin/g3501_3600/s3574_maximize_subarray_gcd_score/Solution.kt
@@ -12,7 +12,7 @@ class Solution {
12
mx = max(mx, x)
13
}
14
val width = 32 - Integer.numberOfLeadingZeros(mx)
15
- val lowBitPos: Array<MutableList<Int>> = Array<MutableList<Int>>(width) { i: Int -> ArrayList<Int>() }
+ val lowBitPos: Array<MutableList<Int>> = Array<MutableList<Int>>(width) { _ -> ArrayList<Int>() }
16
val intervals = Array<IntArray>(width + 1) { IntArray(3) }
17
var size = 0
18
var ans: Long = 0
0 commit comments