Hi,
I used Segmented Sieve in this problem.
But it still showing the wrong answer. The code is properly commented for readability.
Please check.
Thanks.
Hi,
I used Segmented Sieve in this problem.
But it still showing the wrong answer. The code is properly commented for readability.
Please check.
Thanks.
What if a > b…
I should swap the numbers. But it didn’t help though.