2023 RPN HHC Programming Contest
|
10-10-2023, 03:37 PM
(This post was last modified: 10-11-2023 07:38 PM by Jeff O..)
Post: #53
|
|||
|
|||
RE: 2023 RPN HHC Programming Contest
Slight improvement, now only 18 steps, but still (annoyingly) 28 bytes, so hard to call it much of an improvement. Figured out that while "STO+ ST X" does not copy X to Last X, "RCL+ ST X", which accomplishes the same thing, does copy X to Last X, allowing the "X<>Y" to be eliminated. But I guess "RCL+ ST X" takes more bytes than "STO+ ST X", offsetting the savings from removing "X<>Y". Still feels a little better.
Code: 00 { 28-Byte Prgm } Code:
Dave - My mind is going - I can feel it. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 5 Guest(s)