HHC 2014 Programming Contest
|
10-05-2014, 10:02 AM
(This post was last modified: 10-05-2014 11:11 AM by C.Ret.)
Post: #34
|
|||
|
|||
RE: HHC 2014 Programming Contest
The version proposed by Werner inspires me and I produce the following codes on my poor HP-28S.
Code: HHC2014: As there is no native ISPRIME?, ISLEAP? or calendar functions on HP28S/C, I have to propose one homebrew version: Code: LEAP?: Code: PRIME?: But this may be the subject of another MPO challenge that will spare batteries! Code: NXTODD: Also, flag 1 have to be clear before the first use of PRIME? (this spare a 1 CF at the beginning of the program) But have any importance only at first use, since the last instruction clear flag 1 whatever the result (cf. FC?C ) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 10 Guest(s)