Zhang Yide's submission of Algorithm Challenge | CodeChef