AMIT KUMAR YADAV's submission of One Dimensional Kingdoms | CodeChef