My code is getting wrong answer for 4 test cases. I couldn’t get it what i am doing wrong. Can you please help?
Deepak and Primes II
Your logic seems fine.
There seems some issue with printing the output.
Check this code for reference https://ide.codingblocks.com/s/197073
Thanks sir. Your code helped me.