I’am not able to find the mistake in my submitted code, as for one of the test case it gave a wrong answer. Also my code takes a lot of time to execute,hence i have to optimize it too. Please help!
Error in the code
Plz send your code by saving on ide
i’m sorry but how do i do that?
Plz type “https://ide.codingblocks.com” and then copy paste your code and then click on save button given on top, and a unique url with some no will be there, once you click on save, share that url here
You need to use prime seive optimisation to check for a prime no, plz refer to the video tutorial given in the online lectures in Number theory and implement that in your code.