Anonymous user
Rare numbers: Difference between revisions
m
→10 to 19 digits: 3x aka 300% not 3000%, come on ;-) Enjoy celebrations/holi-days
m (→10 to 19 digits: 3x aka 300% not 3000%, come on ;-) Enjoy celebrations/holi-days) |
|||
Line 147:
</pre>
===10 to 19 digits===
The following is a faster implementation of the algorithm. It compiles with both g++ and clang++, both produce the correct output but g++ takes 3 times as long. I expect some difference but
<lang cpp>
// Rare Numbers : Nigel Galloway - December 20th., 2019
Line 296:
sys 0m2.127s
</pre>
===20+ digits===
<lang cpp>
|