Erik Curiel wrote:

> Fucking cheaters.  Bram, did you code it?  I did it in my head.  That's
> why it's called a "puzzle" and not a "coding problem".

In my head. The trick is to realize that the only thing which matters in
terms of change in digit sum is the number of carries. Zero carries causes
an increase of one, one carry causes a decrease of 8, and two carries
causes a decrease of 17. Hence, the last two digits must be 9, and the
other two are easy to figure out.

-Bram


_______________________________________________
Bits mailing list
[EMAIL PROTECTED]
http://www.sugoi.org/mailman/listinfo/bits

Reply via email to