Márton Erdős's submission of Travelling in a tree | CodeChef