You are viewing a single comment's thread. Return to all comments →
I create sieve for 6000000, use the Miller-Rabin for above, but still need about 15 sec in JAVA.
If I limit my table for about max 100000 consecutive sums, then no timeout, but it's good only for the first 7 testcases.
Project Euler #50: Consecutive prime sum
You are viewing a single comment's thread. Return to all comments →
I create sieve for 6000000, use the Miller-Rabin for above, but still need about 15 sec in JAVA.
If I limit my table for about max 100000 consecutive sums, then no timeout, but it's good only for the first 7 testcases.