HHC 2017 RPN Programming contest information and results thread
|
09-18-2017, 09:23 PM
(This post was last modified: 09-19-2017 04:34 PM by Don Shepherd.)
Post: #29
|
|||
|
|||
RE: HHC 2017 RPN Programming contest information and results thread
Never having used a 41, I wanted to implement the problem using the 17bii solver. Here is the equation:
Code: HAPPY:HAP+CYC+ This is not a normal solver equation, it takes advantage of the fact you can exit a loop by inducing an error in the calculation (divide by 0 works well) after saving whatever values you want in variables that you can then RCL. So, to run this, enter your desired number to test and press NUM. Then press ANS (solve for ANS). After a few seconds it will beep and display SOLUTION NOT FOUND. Just RCL HAP (4=unhappy, 1=happy) and RCL CYC for the number of cycles. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)