|
|
| There's more than one way to do things | |
| PerlMonks |
Re^2: what is for key plsby wind (Priest) |
| on May 11, 2011 at 02:26 UTC ( #904067=note: print w/ replies, xml ) | Need Help?? |
|
I made a quick and dirty script to see if some combination of + and -'s between all the digits of that string would return 42.
After running for an hour though, I decided that I needed to test this by hand:
Unfortunately, as you can see, the string contains an odd number of odd digits. This means that no combination of + and -'s between all the digits can return an even number. So there is no simple solution that equals 42
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||