Devesh Agarwal's submission of The Change Problem | CodeChef