Sparsh Kumar Sinha's submission of Counting Matrices | CodeChef