https://ide.codingblocks.com/s/86772 On giving custom inputs it gives correct answer but two test cases are failing. I am unable to figure out the reason.
Prime Visit testcase
Hi @yfulwani82, consider the following test case:
1
0 100000
Your output should be: 9592
Your output is: 9593
Try to modify your code such that it produces the right ans for this testcase. If your query is resolved, please mark it as resolved, otherwise you can reply to the same thread.