1
0
www.mikescher.com/www/statics/euler/Euler_Problem-035_explanation.md
2018-02-03 16:50:58 +01:00

2 lines
275 B
Markdown

Thats one big [sieve](https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes), even though not as big as the on in problem 10.
Here we needed a way to "rotate" a number: `value = value%10 * 10^digitcount + value/10`. The rest is standard befunge stuff and trying to optimize it.