No such thing as a small change | |
PerlMonks |
Re: Sum to 100 at Rosetta Codeby trippledubs (Deacon) |
on Feb 25, 2018 at 00:49 UTC ( [id://1209917]=note: print w/replies, xml ) | Need Help?? |
For summing to 100, I got all but one with this
Eventually resorted to this to get the last one
I think a better regex solution exists, this re-evaluates too many times. I used structure from tybalt89's Re: Parks Puzzle. With '1234567891234' 1222 solutions
With '12345678912345' 3080 solutions
In Section
Meditations
|
|