code: https://ide.codingblocks.com/s/46160
my code is giving no output for test case 1
Prateek loves candy problem no output for testcase 1
Hey Siddharth, that’s because you have made sieve till n= 100 only. check line 22 prime_sieve(p,100);
I tried to increase the size of sieve but then its giving run-error
Can you share the link to your updated code here.
Hey Siddharth, as you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.
Please mark your doubts as resolved in your course’s “Ask Doubt” section, when your doubt is resolved.