Range Count Query
https://scrapbox.io/files/6662e193257ef5001cb0d69f.png
https://atcoder.jp/contests/abc248/tasks/abc248_d
N+Q log N で解ける