Project Euler #7: 10001st prime

  • + 2 comments

    My code worked only after changing the size of sieve. I increased it's size from 10001 to 200000. See if it works for any of you guys too. But, I don't know why TLE was shown before changing size - when it should have shown error ? This is weird.