I saw some people have accepted PYTHON solutions for TDPRIMES, I tried some optimizations but still haven’t got AC. Can anyone can share the solutions?
I can give you some hints.
Regards.
lol, thank you so much, I’ve just found the solution, yah, numpy is the friend!
ref: https://codereview.stackexchange.com/questions/42420/sieve-of-eratosthenes-python