Post Reply 
2024 HHC Programming Contest - RPN #2
09-24-2024, 12:08 PM (This post was last modified: 09-24-2024 12:10 PM by Craig Bladow.)
Post: #6
RE: 2024 HHC Programming Contest - RPN #2
My solution from the conference that came in at 82 bytes plus 7 bytes for not preserving T.
X, Y, Z and L are preserved which makes it quite usable. This was not the winner. As the loop is unrolled it may be a contender for the most responsive on any 41 platform.
Code:

LBL "FLOAT"
FIX 00
XEQ 00
FIX 01
XEQ 00
FIX 02
XEQ 00
FIX 03
XEQ 00
FIX 04
XEQ 00
FIX 05
XEQ 00
FIX 06
XEQ 00
FIX 07
XEQ 00
FIX 08
XEQ 00
FIX 09
LBL 00
CLA
ARCL X
69
POSA
X>0?
GTO 02
RDN
ANUM
X=Y?
GTO 01
LBL 02
RDN
RTN
LBL 01
RDN
STOP
END

Try CC41!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 2024 HHC Programming Contest - RPN #2 - Craig Bladow - 09-24-2024 12:08 PM



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