Tomek Czajka's submission of Triangular Queries | CodeChef