HHC 2018 Programming Contests
|
10-01-2018, 09:33 PM
Post: #51
|
|||
|
|||
RE: HHC 2018 Programming Contests
(10-01-2018 01:42 PM)Werner Wrote: I think there's an RDN missing between lines 21 and 22. Thanks a lot for spotting the bug. Meanwhile I've fixed it in my post. Quote:Moreover, the extrema cycle for 28 days is simply 7+14.n, reducing the number of comparisons from 12 to 8. The period for 23x28 and 28x33 days is also halved to 322 and 462, respectively. This will take me a bit longer to adjust. But I'm glad there's still room for improvement. Honestly I don't consider my solution elegant. But then it was still fun to think about it. My first encounter with computers was probably in the late seventies when I could visit someone working in a chemistry lab. He had my biorhythm printed on a Commodore PET. And then he showed me his HP-67. So I guess that's where all that started. Therefore, there was probably a bit of nostalgia involved. Kind regards Thomas |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 26 Guest(s)