Train and Queries

Problem Name:
Train and Queries
Site:CodeForces
Links:
Tags:
Problem setters: