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

2 lines
267 B
Markdown
Raw Normal View History

2017-11-08 17:39:50 +01:00
Not much to say here, we save the factorial values to increase speed and operate almost entirely on the stack (also for speed).
The rest is brute force. Our upper limit is `9!*7 = 2540160`, because `9!*8` has only 7 digits and so is impossible to be a curious number.