Post Reply 
HHC 2015 RPN programming Contest is now open
09-27-2015, 12:55 PM (This post was last modified: 09-27-2015 01:21 PM by Allen.)
Post: #9
RE: HHC 2015 RPN programming Contest is now open
(09-27-2015 11:50 AM)Gerson W. Barbosa Wrote:  Thanks for another interesting programming contest. I hope you all are having fun at HHC 2015!

I agree! Thank you, Gene for a fun programming contest. I will not be home at 4pm central, but will post my solution later tonight.

Code:

Steps: 41 (including LBL RR and END)
Bytes: 66
Sorts: 0
Registers: 8 (including 1-5 stored data)
User Flags: 1
Running Time: Varies according to input

I wrote my original solution on the 42S but it used some functions that were not vanilla 41c instructions.

Code:

Steps: 25 (including LBL RR and END)
Bytes: 41
Sorts: 0
Registers: 6 (including 1-5 stored data)
User Flags: 0
Running Time: Constant time, about 56 program steps.

I can include the 42s version tonight if anyone is interested.

17bii | 32s | 32sii | 41c | 41cv | 41cx | 42s | 48g | 48g+ | 48gx | 50g | 30b

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 - Allen - 09-27-2015 12:55 PM



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