www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - [Rosettacode] sum of powers conjecture

reply "bearophile" <bearophileHUGS lycos.com> writes:
I've translated the C++ entry to D as third D entry, but it's not 
a good translation, I've just converted iterators to pointers 
instead of using ranges (the resulting speed is acceptable). 
You're welcome to improve it:

http://rosettacode.org/wiki/Euler%27s_sum_of_powers_conjecture#Third_version

Bye,
bearophile
Jul 26 2015
parent "Daniel N" <ufo orbiting.us> writes:
On Sunday, 26 July 2015 at 18:40:59 UTC, bearophile wrote:
 I've translated the C++ entry to D as third D entry, but it's 
 not a good translation, I've just converted iterators to 
 pointers instead of using ranges (the resulting speed is 
 acceptable). You're welcome to improve it:

 http://rosettacode.org/wiki/Euler%27s_sum_of_powers_conjecture#Third_version

 Bye,
 bearophile
Bear, welcome back! You and all your inspirational ideas have been missed! Good to see you.
Jul 26 2015