4 ms·
Did anyone else do that one without writing any code?
by hugh3 15y ago
Did anyone else do that one without writing any code?
- genesiss 15y agoYou mean with smart guessing? That's no fun!
- hugh3 15y agoYeah. It took me three guesses to get it right. :)
- wbhart 15y agoYou 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.
- hugh3 15y agoSure, but then I'd actually have to look at the numbers. My solution works without having to download the file! ;)
- deleted 15y ago[deleted]