分类:筛法

[滑动窗口]PE593:Fleeting Medians


We define two sequences $S=\{S(1),S(2),\dots,S(n)\}$ and $S_2=\{S_2(1),S_2(2),\dots,S_2([......]