How do i account for too large numbers ??
Deeoak and Primes
Hey @Arshabh
7368787 this is the 5,00,000th prime number
Yo see its only 10^7 so declare a gloval array of 10^8 and apply sive ,it wil work
Try taking bool array instead of int as bool takes less space .
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.