my code
its running perfectly on ideone whereas it giving the below error.
runguard: warning: timelimit exceeded (wall time): aborting command
runguard: warning: command terminated with signal 15
my code
its running perfectly on ideone whereas it giving the below error.
runguard: warning: timelimit exceeded (wall time): aborting command
runguard: warning: command terminated with signal 15
the error can be removed using ll instead of int
but ur answer is still wrong
refer to this code
bro i do not have access to the question link
i have made updated to the code its working fine now for small inputs u`ll have to confirm if it passes all the test cases
u have a lot of minor error prime sieve code
also added comments to other places