Re:The ReadyForZero Programming Challenge
by genesiss on Tuesday June 14, 2011 @06:05PM
(#2654976)
You mean with smart guessing?
That's no fun!
[ Parent
| on HN ]
Yeah. It took me three guesses to get it right. :)
You didn't need 3 guesses. The sum of each partition has to be a factor of the number. In particular the sum of the first partition has to be a factor. Then the second. That already gives you the answer I think.