Zhang Yide's submission of Updating Edges on Trees | CodeChef