Anonymous user
Circular primes: Difference between revisions
m
→{{header|Free Pascal}}: doesn't take 2.6 s for the first 19 but 0.073s til 999999
(→{{header|Perl}}: perpend =={{header|Pascal}}== test up to 10 digits) |
m (→{{header|Free Pascal}}: doesn't take 2.6 s for the first 19 but 0.073s til 999999) |
||
Line 1,656:
const
MAXCNTOFDIGITS = 6;//10;//11
MAXDGTVAL = 3;
conv : array[0..MAXDGTVAL+1] of byte = (9,7,3,1,0);
Line 1,814:
19 199933
Real time:
Real time: 24.545 s
</pre>
=={{header|Perl}}==
{{trans|Raku}}
|