One Dimensional Kingdoms Submissions | CodeChef