Rosetta Problems

Static Range Count Distinct

https://judge.yosupo.jp/problem/static_range_count_distinct