Only 9 out of 15 test cases are passed.
ques link : https://www.codechef.com/problems/COPRIME3
@S18CRX0029
There are few mistakes in your code. I am pointing out them, please correct them
@S18CRX0029
I have updated your code as per above mention problems. Here is the updated code, it is working fine for all testcases now.
https://ide.codingblocks.com/s/254127
@S18CRX0029
Please mark this doubt as resolved if you don’t have any other doubt regarding this question.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.