its not passing one of the test cases . please help
Deepak and primes problem
@gulatigarvita08 problem was in size you have to loop till 1e8 here -
i hope its clear if yes dont forget to mark it as resolved 
sir where its given that we have to loop till 1e8 . its not given in constraints
and sir its showing time limit exceeded : aborting command
@gulatigarvita08 you are right its not given . your code is right but one of the testcases wants to loop till 1e8 thats why. and yes it will not run on compiler just submit it it will pass all the test cases. generally this dont happen but the question require 1e8 to pass.
but why time limit is being exceeded?
looping 1e8 is approx 1 sec so with other things at all it will give tle in our compiler but the problem compiler is made such that it passes @gulatigarvita08
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.