Problem 2386 · Hard
Subtract the k-th smallest subset sum of absolute values from the sum of positives, found with a min heap.
Open the interactive visualisation