1
0
www.mikescher.com/www/statics/euler/Euler_Problem-035_explanation.md

2 lines
274 B
Markdown
Raw Permalink Normal View History

2017-11-08 17:39:50 +01:00
Thats one big [sieve](http://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.