Distinct Characters Queries

Problem Name:
Distinct Characters Queries
Site:CodeForces
Links:
Tags:
Problem setters: