Koichi Namekata's submission of Roots of a Tree | CodeChef