Prasanth Reddy's submission of Diagonal_diff | CodeChef