How would you solve this 'interview' question in D?

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Jun 26 16:53:40 PDT 2013


On 6/27/13, H. S. Teoh <hsteoh at quickfur.ath.cx> wrote:
> Well, it's still cheating, though. :-P I think the 4-cycle algorithm is
> probably still the best one I've seen.

What I don't understand is why the CPU is so slow that it takes ages
to go through int.min .. int.max in a loop.


More information about the Digitalmars-d-learn mailing list