first testcase showing wrong answer when submitting but testcase works fine when i enter it as custom input and giving correct answer
Deepak and primes (challenges number theory)
@nischay1111
increase the size of your sieve to 9*10^7. Change every 50000000 to 90000000. Your code will pass all testcases.
i tried and changed the value to what you suggested but it is showing time limit exceeded for two test cases
@nischay1111
I don’t know why it is passing all testcases when I submitted the same code as yours. But still I optimise it little bit. Try to submit this code https://ide.codingblocks.com/s/226830

