File tree 2 files changed +2
-1
lines changed
src/main/kotlin/g3001_3100
s3072_distribute_elements_into_two_arrays_ii
s3080_mark_elements_on_array_by_performing_queries
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package g3001_3100.s3072_distribute_elements_into_two_arrays_ii
3
3
// #Hard #Array #Simulation #Segment_Tree #Binary_Indexed_Tree
4
4
// #2024_04_16_Time_890_ms_(100.00%)_Space_77.6_MB_(54.17%)
5
5
6
- @Suppress(" NAME_SHADOWING" )
6
+ @Suppress(" NAME_SHADOWING" , " kotlin:S1871 " )
7
7
class Solution {
8
8
internal inner class BIT (size : Int ) {
9
9
private val tree = IntArray (size + 1 )
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package g3001_3100.s3080_mark_elements_on_array_by_performing_queries
3
3
// #Medium #Array #Hash_Table #Sorting #Heap_Priority_Queue #Simulation
4
4
// #2024_04_16_Time_937_ms_(97.78%)_Space_90.4_MB_(55.56%)
5
5
6
+ @Suppress(" kotlin:S1871" )
6
7
class Solution {
7
8
fun unmarkedSumArray (nums : IntArray , queries : Array <IntArray >): LongArray {
8
9
val l = nums.size
You can’t perform that action at this time.
0 commit comments