Help in a range query question
Hello, can any one please tell how to solve this question
CF Edu Round #165 Solution Discussion
Educational Round 165 Solution Discussion (with myself)