i submitted solution for PRIME1 on spoj i got correct answer.but for the same problem here on codechef i’m getting wrong answer.please give me a test case where my solution is failing.
@saimadan may be test files are different from each others.
And getting AC signal doesn’t mean your solution is correct , it just have a simple meaning that your solution passes the test cases generated by Problem Setter.
Thanks
1 Like
please can you help me with this i tried my solution on various inputs but i’m unable to find the error.so can you help with this test case