Post Reply 
2023 RPN HHC Programming Contest
10-09-2023, 04:37 PM (This post was last modified: 10-09-2023 04:39 PM by born2laser.)
Post: #50
RE: 2023 RPN HHC Programming Contest
I took a hand at it too, longer in steps but at least according to V41-CX just 24 bytes (not as good as many here). I actually did it on 40 years old CV, but copied in the simulated CX to count bytes (lazy, I know).
Stack:
T: 11
Z: 11
Y: 71
X: 41

Code:

 01*LBL "HHC"
 02 10^X
 03 ENTER^
 04 10^X
 05 +
 06 LASTX
 07 ENTER^
 08 ENTER^
 09 +
 10 +
 11 +
 12 LASTX
 13 X<>Y
 14 +
 15 LASTX
 16 END
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
2023 RPN HHC Programming Contest - Gene - 10-07-2023, 01:00 PM
RE: 2023 RPN HHC Programming Contest - born2laser - 10-09-2023 04:37 PM



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