An order statistic week
https://petr-mitrichev.blogspot.com/2019/05/an-order-statistic-week.html
AtCoder Beginner G problems upsolving