Zhang Yide's submission of Root of the Problem | CodeChef