蔡子逸's submission of Period on tree | CodeChef