2023 RPN HHC Programming Contest
|
10-09-2023, 04:27 AM
Post: #40
|
|||
|
|||
RE: 2023 RPN HHC Programming Contest
My best:
Code: 01 LBL "HHC" I think this is equal to the previous best. I found one other approach for the first half 71, but I don't consider it as pure since it relies on a zero on the stack: Code:
I did find two equal length alternative solutions for the second half 41: Code:
Since I was using my 11c for this, I did locate a neat solution for 41, but not suitable for the 41, because it requires gamma: Code:
On the 11c there is a single step shorter solution available but, sadly, also not available on the 41 due to the use of an hyperbolic function. The first step is quite malleable, there being multiple alternatives to get 1 on the stack: x!, 10^x or EXP are equally good. Code:
I didn't properly investigate deriving 41 from 71 or viceversa but the best I could manage wasn't shorter. For example (with 71 on the stack and the prior value in last x): Code:
Pauli |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)