https://ide.codingblocks.com/s/63065 deepak and prime sieve question
Https://ide.codingblocks.com/s/63065
Hi,
Wrong test Case
Input
3
Output
5
Your output
2 3 5
You need to print nth prime but you are printing all prime upto nth prime
Mistake 2:
Check array size according to constraint on n
Refer my code:
https://ide.codingblocks.com/s/63342
Hit like if u get it