@jlonexshot wrote:
Hi guys, I have been trying to implement the Sieve of Eratosthenes to solve this problem but I am not sure I have done it correctly as I keep getting a TLE. What can I do to improve my code? Thanks.
code removed, SOLVED!
@jlonexshot wrote:
Hi guys, I have been trying to implement the Sieve of Eratosthenes to solve this problem but I am not sure I have done it correctly as I keep getting a TLE. What can I do to improve my code? Thanks.
code removed, SOLVED!