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

2 lines
275 B
Markdown
Raw Normal View History

2018-02-03 16:50:58 +01:00
Thats one big [sieve](https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes), even though not as big as the on in problem 10.
2017-11-08 17:39:50 +01:00
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.