JAY KUMAR's submission of FlatLand | CodeChef