Post Reply 
Sum of Digits.
03-26-2016, 06:17 PM
Post: #21
RE: Sum of Digits.
(03-26-2016 06:02 PM)Dieter Wrote:  Four steps is easy – one example is your solution, another one is...

Code:
#009
RMDR
x=0?
X<> L
Yes, I also found this solution, but it doesn't work for 0 (whereas the other one does).
Quote:So four steps is trivial. For less it takes some real art of programming.
No, I do not have a three-step-solution either. Which does not mean it doesn't exist. ;-)
Well, it also doesn't mean that it does exist. ;-)

I doubt that it can really be reduced by one step.

Franz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Sum of Digits. - ggauny@live.fr - 03-25-2016, 11:16 AM
RE: Sum of Digits. - Dieter - 03-25-2016, 01:41 PM
RE: Sum of Digits. - Didier Lachieze - 03-25-2016, 04:37 PM
RE: Sum of Digits. - ggauny@live.fr - 03-25-2016, 05:46 PM
RE: Sum of Digits. - Dieter - 03-25-2016, 06:34 PM
RE: Sum of Digits. - fhub - 03-26-2016, 01:02 PM
RE: Sum of Digits. - Dieter - 03-26-2016, 06:02 PM
RE: Sum of Digits. - fhub - 03-26-2016 06:17 PM
RE: Sum of Digits. - BarryMead - 03-30-2016, 11:24 AM
RE: Sum of Digits. - Dieter - 03-30-2016, 12:46 PM
RE: Sum of Digits. - BarryMead - 03-30-2016, 07:54 PM
RE: Sum of Digits. - BarryMead - 03-30-2016, 11:11 AM
RE: Sum of Digits. - ggauny@live.fr - 03-25-2016, 07:44 PM
RE: Sum of Digits. - Massimo Gnerucci - 03-25-2016, 08:48 PM
RE: Sum of Digits. - ggauny@live.fr - 03-25-2016, 08:26 PM
RE: Sum of Digits. - Dieter - 03-25-2016, 08:33 PM
RE: Sum of Digits. - ggauny@live.fr - 03-25-2016, 08:37 PM
RE: Sum of Digits. - ggauny@live.fr - 03-25-2016, 08:46 PM
RE: Sum of Digits. - Dieter - 03-25-2016, 08:48 PM
RE: Sum of Digits. - ggauny@live.fr - 03-25-2016, 08:49 PM
RE: Sum of Digits. - Dieter - 03-25-2016, 08:59 PM
RE: Sum of Digits. - ggauny@live.fr - 03-26-2016, 01:17 PM
RE: Sum of Digits. - Dieter - 03-26-2016, 06:16 PM
RE: Sum of Digits. - ggauny@live.fr - 03-26-2016, 07:52 AM
RE: Sum of Digits. - ggauny@live.fr - 03-26-2016, 07:54 AM
RE: Sum of Digits. - ggauny@live.fr - 03-26-2016, 06:22 PM
RE: Sum of Digits. - Dieter - 03-26-2016, 06:27 PM
RE: Sum of Digits. - ggauny@live.fr - 03-26-2016, 08:15 PM
RE: Sum of Digits. - Dieter - 03-26-2016, 09:06 PM
RE: Sum of Digits. - ggauny@live.fr - 03-26-2016, 08:18 PM
RE: Sum of Digits. - ggauny@live.fr - 03-27-2016, 07:10 AM
RE: Sum of Digits. - ggauny@live.fr - 03-29-2016, 11:34 AM
RE: Sum of Digits. - Dieter - 03-29-2016, 07:36 PM
RE: Sum of Digits. - ggauny@live.fr - 03-30-2016, 10:00 AM
RE: Sum of Digits. - Dieter - 03-30-2016, 12:42 PM
RE: Sum of Digits. - ggauny@live.fr - 03-30-2016, 10:04 AM
RE: Sum of Digits. - ggauny@live.fr - 03-30-2016, 05:37 PM
RE: Sum of Digits. - Dieter - 03-30-2016, 06:01 PM
RE: Sum of Digits. - ggauny@live.fr - 03-31-2016, 07:33 AM
RE: Sum of Digits. - Dieter - 03-31-2016, 12:50 PM



User(s) browsing this thread: 1 Guest(s)