HHC 2018 Programming Contests
|
09-30-2018, 08:49 PM
(This post was last modified: 09-30-2018 08:55 PM by Didier Lachieze.)
Post: #32
|
|||
|
|||
RE: HHC 2018 Programming Contests
My PPL version calculates the next Extrema Date in 11 lines (out of EXPORT and BEGIN) and displays the results with another 7 lines before RETURN and the final END;
It returns the same results as Gerson 's program, but the date format is YYYY.MMDD EXTREMA(1963.0227) returns : Birthday : 1963.0227 Next Extrema Date: 2018.1114 Physical: −100 Emotional: −100 Intellectual: −75 And for the dates tested by Gerson : Birthday : 1905.0101 Next Extrema Date: 2018.1010 Physical: −100 Emotional: 62 Intellectual: 100 Birthday : 2018.0928 Next Extrema Date: 2018.1130 Physical: −100 Emotional: 100 Intellectual: −54 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)