Anmol Kshetrimayum's submission of One Dimensional Kingdoms | CodeChef