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: 20.691073 s CPU share:digit 99.44Count MAXCNTOFDIGITS = %6;
oneReal time: 2.691 s digit moreCount MAXCNTOFDIGITS = 1110;
Real time: 24.545 s</pre> digit Count MAXCNTOFDIGITS = 11;
</pre>
 
=={{header|Perl}}==
{{trans|Raku}}
Anonymous user