Distinct Rows in Submatrices Submissions | CodeChef