Hi, I have this code which is working fine in my system. But getting WA in spoj. Could anyone please help me figure out the mistake or provide me a test case where the code fails!!
Removed after AC
Try this case:
1 1 44417
.
Thanks a lot. This was rather a silly mistake