Primes whose sum of digits is 25: Difference between revisions

Content added Content deleted
m (added highlighting and whitespace before the TOC..)
m (→‎{{header|Go}}: Minor change to preamble.)
Line 111: Line 111:
=={{header|Go}}==
=={{header|Go}}==
{{libheader|GMP(Go wrapper)}}
{{libheader|GMP(Go wrapper)}}
This uses the Phix routine for the extra credit though I've had to plug in a GMP wrapper to better the Phix time. Using Go's native big.Int, the time was slightly slower than Phix at 1 minute 28 seconds.
This uses the Phix routine for the stretch goal though I've had to plug in a GMP wrapper to better the Phix time. Using Go's native big.Int, the time was slightly slower than Phix at 1 minute 28 seconds.
<lang go>package main
<lang go>package main