Query game

Problem Name:
Query game
Site:HackerEarth
Links:
Tags: