sieve of eratosthenes runtime error...@lastchance Oh, I see. So you mean smth like for (ll i = 2; i < 1000001; i++) { if (!elim[i]) ...
sieve of eratosthenes runtime error...Ohh okay, what if I changed int to unsigned long long, would it work??
sieve of eratosthenes runtime error...Hi. I recently just learned the sieve of eratosthenes to generate prime numbers, but evrytime i want...
what's wrong with my code?@lastchance Omg that makes senseee thats why it didnt work beforeee the y will have already become...
recursion error?Oh yeah I didn't notice that, thanks though
This user does not accept Private Messages