D-query

Problem Name:
D-query
Site:Spoj
Links:
Tags:
Problem setters: