Yash Chandnani's submission of Distinct Rows in Submatrices | CodeChef