QUERIES ON MATRIX | CodeChef