Zhang Yide's submission of Same Snake | CodeChef