Devesh Agarwal's submission of Manhattan Rectangle | CodeChef