Queries on a String

Problem Name:
Queries on a String
Site:CodeForces
Links:
Tags:
Problem setters: