PALIN: Getting wa

Hi,
I am encountering a Wrong Answer and I am not able to figure out what and where the problem lies. Can anyone please check my code and give me a hint to proceed. My Code

Regards,
cabraconstante

please check the output of your program when given this sample test case :

1 Like