2023 RPN HHC Programming Contest
|
10-11-2023, 10:46 PM
Post: #55
|
|||
|
|||
RE: 2023 RPN HHC Programming Contest
(10-10-2023 10:20 AM)Maximilian Hohmann Wrote: That's an interesting and very unusual approach! But how do you make it work? On my HP-11C, no matter what I use to seed the random number generator with, I don't get "41" and/or "71" as a result. It won't directly, the idea was to get a non-zero value onto the stack using RAN# and then manipulate it into the required form. Because the rules specified a memory lost starting state, the random sequence is entirely predictable. All of the other solutions needed to go from a stack of zeros to something non-zero (e^x, ACOS, pi, ...). This was a different way of doing it that which didn't work out. Pauli |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)