Here is the link to problem ROCK, and here is the link to my solution ,**I tried many testcases possible and answers are correct**.Can anyone please tell why it's giving WA. Thanks in advance.
Need help in ROCK(SPOJ).
Here is the link to problem ROCK, and here is the link to my solution ,**I tried many testcases possible and answers are correct**.Can anyone please tell why it's giving WA. Thanks in advance.