Problem 2302 · Hard

Count Subarrays With Score Less Than K

Count subarrays whose sum multiplied by length is strictly below k.

Open the interactive visualisation