- sliding window
The crucial bit of information for this problem is that the absolute value of the positions of parasols is at most
As
The crucial bit of information for this problem is that the absolute value of the positions of parasols is at most
As