Zach Polansky's submission of Distinct Rows in Submatrices | CodeChef