ruchir's submission of Updating Edges on Trees | CodeChef