XP is just a number | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Sorry, but 10 is not a gidit , its a number, composed of the digits 1 and 0.
so your solution should look alike: 0+9 1+8 2+7 3+6 4+5 which is 45 But anyway, I wouldn't be surprised if another one shows up presenting a "correct" solution of "42" grin Have a nice day All decision is left to your taste In reply to Re: Re: Finding sum of all digits from 1 to 1 million.
by little
|
|