https://hack.codingblocks.com/contests/c/537/52
my code -https://ide.codingblocks.com/s/39673, how to improve this, so that it gives correct o/p?
i am using the sieve but am a lil stuck on how to print nth prime number using it
I have seen the reference-https://ide.codingblocks.com/s/13468
but here they already calculate sieve to a very large number and then whatever number is input by the user, sieve can be printed/used till then.
Isn’t there another way to do it, to calculate sieve only to the point/number we want?
Pls help.
thanks
