Xuandi Ren's submission of Querying on a Grid | CodeChef