Iaroslav Tverdokhlib's submission of Rebuilding Byteland | CodeChef