Why TLE ?
https://codeforces.me/contest/1506/submission/146973253 Why I'm getting TLE?
CSES Sliding Window Advertisement