Test case are failing

problem https://hack.codingblocks.com/contests/c/473/700
code
https://ide.codingblocks.com/s/50980

now solved…thank you

Hi Gaurav, if your query has been resolved, please mark it as resolved.

Actually the code is not giving no output for last 2 test cases
problem https://hack.codingblocks.com/contests/c/473/700
code
https://ide.codingblocks.com/s/50980

help me here please…

That’s because you have to output nth prime number and n is <=5000000, so for that you need as large array as 10 ^8 to get nth prime number .
https://ide.codingblocks.com/s/52198

1 Like