HHC 2015 RPN programming Contest is now open
|
10-20-2015, 04:35 PM
(This post was last modified: 01-26-2016 09:08 PM by Guenter Schink.)
Post: #103
|
|||
|
|||
RE: HHC 2015 RPN programming Contest is now open
(09-30-2015 12:23 PM)Gene Wrote:(09-29-2015 09:25 AM)Werner Wrote: Managed to squeeze off a byte: After the conference Torben and I continued our trip through southeast USA via Memphis, Columbia and Charleston back to Dulles Airport. And after that I spent a couple of days at Vienna, Austria. Therefore I'm somewhat late at this subject. But I guess that my code -winning the contest at the conference- may be still of interest. [edited a typo] 47 bytes Code:
Eventually I looked for squeezing some bytes while retaining the same logic. Here is the result. Using the stack only and DSE instead of ISG, no registers, no flags. 42 bytes Code:
But I must admit that I rate Werner's code as more elegant and perhaps easier to understand. My luck he wasn't at the conference Günter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)