Post Reply 
HHC 2015 RPN programming Contest is now open
09-28-2015, 02:27 AM (This post was last modified: 09-28-2015 12:41 PM by Bill (Smithville NJ).)
Post: #33
RE: HHC 2015 RPN programming Contest is now open
(09-28-2015 02:12 AM)Egan Ford Wrote:  My first thought on solving this was to or the bits, then and with 3 different masks and check for 15, 30, or 60.

That's mostly what my 64 byte attempt was but with base-10.

Egan,

That is similar to what I did. It would be interesting to program this on the HP-16 or even the HP-42S with bit logic. I ended up with a compare with 1111, 11110 and 111100, and used the flags 1-6 to simulate binary. Not the shortest program, but still interesting to program.

Fascinating to see the various methods.

Bill
Smithville, NJ
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HHC 2015 RPN programming Contest is now open - Bill (Smithville NJ) - 09-28-2015 02:27 AM



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