Post Reply 
HHC 2018 Programming Contests
10-05-2018, 12:36 AM (This post was last modified: 10-05-2018 12:37 AM by Joe Horn.)
Post: #68
RE: HHC 2018 Programming Contests
Roger Hill's RPN contest entry can be downloaded from HERE.

My observations about Roger's RPN entry:
  • Uses a MOD algorithm (two "elegance" points)
  • Outputs Extrema Date but not the biorhythms for that date.
  • Roger told me that he understood the biorhythm function to be a smooth sine curve, not a step function, so his program does not calculate the biorhythm only at 24-hour increments, but also takes parts of days into account. For example, if you were born early in a day, a 100 or -100 could occur late in another day, and so on, thereby getting different Extrema Dates than if only exact 24-hour steps are considered. Although this certainly is an "elegant" approach, and arguably better than standard biorhythm calculations, I had to disqualify it due to outputs which are "incorrect" according to "Biorhythm Theory", which only calculates by whole number of days. Sad
Roger also submitted an RPL entry which used the same logic and got the same outputs as his RPN entry (though much faster of course). This misunderstanding was indeed unfortunate, but Roger was a good sport about it... which I think deserves at least two additional "elegance" points for Roger.

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HHC 2018 Programming Contests - Joe Horn - 09-13-2018, 02:17 PM
RE: HHC 2018 Programming Contests - pier4r - 09-13-2018, 06:29 PM
RE: HHC 2018 Programming Contests - Zaphod - 09-13-2018, 10:10 PM
RE: HHC 2018 Programming Contests - Gene - 09-13-2018, 10:56 PM
RE: HHC 2018 Programming Contests - Gene - 09-14-2018, 12:06 AM
RE: HHC 2018 Programming Contests - Jlouis - 09-19-2018, 07:00 PM
RE: HHC 2018 Programming Contests - sasa - 09-19-2018, 11:17 AM
RE: HHC 2018 Programming Contests - pier4r - 09-29-2018, 07:41 PM
RE: HHC 2018 Programming Contests - 3298 - 09-30-2018, 05:32 PM
RE: HHC 2018 Programming Contests - 3298 - 09-30-2018, 08:47 PM
RE: HHC 2018 Programming Contests - Gene - 09-29-2018, 07:22 PM
RE: HHC 2018 Programming Contests - Gene - 10-01-2018, 02:55 AM
RE: HHC 2018 Programming Contests - sasa - 10-01-2018, 05:31 AM
RE: HHC 2018 Programming Contests - sasa - 10-01-2018, 09:54 AM
RE: HHC 2018 Programming Contests - 3298 - 10-01-2018, 06:37 AM
RE: HHC 2018 Programming Contests - Werner - 10-01-2018, 01:42 PM
RE: HHC 2018 Programming Contests - Werner - 10-02-2018, 06:10 AM
RE: HHC 2018 Programming Contests - Namir - 10-04-2018, 06:09 PM
RE: HHC 2018 Programming Contests - Werner - 10-03-2018, 02:03 PM
RE: HHC 2018 Programming Contests - Werner - 10-04-2018, 05:55 AM
RE: HHC 2018 Programming Contests - 3298 - 10-04-2018, 02:48 PM
RE: HHC 2018 Programming Contests - Joe Horn - 10-05-2018 12:36 AM
RE: HHC 2018 Programming Contests - 3298 - 10-05-2018, 08:26 PM
RE: HHC 2018 Programming Contests - 3298 - 10-06-2018, 12:07 PM
RE: HHC 2018 Programming Contests - 3298 - 10-06-2018, 04:21 PM



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