shivam rustagi's submission of A temple of Snakes | CodeChef