chefspl-code giving wa

Want to know which testcases were added later my solution start giving wa on last task.here is my code.

https://www.codechef.com/viewsolution/9639320