Suryansh Agnihotri's submission of Snakes and Graph | CodeChef