蔡子逸's submission of Travelling in a tree | CodeChef