I dont know where i am wrong but this is not printing answer .
Https://ide.codingblocks.com/s/484268
hello @architsuryavanshi
use long long in both the loop
also f8nd 500 000th prime number and prepare ur sieve atleast upto that
I dont know where i am wrong but this is not printing answer .
hello @architsuryavanshi
use long long in both the loop
also f8nd 500 000th prime number and prepare ur sieve atleast upto that