PRPALN - Editorial

Hiding exception is very very bad practice!

Try

1
ac

My Code passes all the test cases in the forumn but still getting W.A. please help http://ideone.com/SVIsBv

please check i always find wrong answer in this ques i added the link of my code.

http://www.codechef.com/viewsolution/6782245

https://www.codechef.com/viewsolution/16729475
Please can a test case where my code fails. I have implemented the same algorithm.