Zhang Yide's submission of Snakes and Graph | CodeChef