Post Reply 
Clock Hands Challenge
03-06-2019, 02:43 AM
Post: #8
RE: Clock Hands Challenge
(03-06-2019 02:10 AM)Valentin Albillo Wrote:  "I wonder what would be the shortest program for a 2-line display HP/DM calc (i.e.: HP42S / DM42) that shows at what time (accurate to the second) past a user-specified hour (i.e.: 0:00, 1:00, ... 23:00) would the clock's hands form an angle of either 0º or 180º."

Well, this makes sense and it is a non-trivial challenge, so it's a good guess, but I still don't follow the 2-line display aspect of the challenge. An HP-42S is, but the DM42 is not (it shows up to 5), and all the other DM models are 1-line displays. And so, if the 42S was meant specifically, why not just say 42S?

Possibly the intention is to have the program OUTPUT 2 lines, 1 for 0 degrees, and 1 for 180 degrees (hence the AND)?

Anyhow, I imagine we'll know soon when RMollov visits again and clarifies the challenge.

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Clock Hands Challenge - RMollov - 03-02-2019, 02:47 AM
RE: Clock Hands Challenge - Dieter - 03-05-2019, 07:17 PM
RE: Clock Hands Challenge - rprosperi - 03-05-2019, 11:29 PM
RE: Clock Hands Challenge - rprosperi - 03-06-2019 02:43 AM
RE: Clock Hands Challenge - RMollov - 03-06-2019, 07:50 AM
RE: Clock Hands Challenge - ijabbott - 03-06-2019, 05:57 PM
RE: Clock Hands Challenge - Thomas Okken - 03-06-2019, 06:40 PM
RE: Clock Hands Challenge - ijabbott - 03-05-2019, 10:16 PM
RE: Clock Hands Challenge - Thomas Klemm - 03-05-2019, 10:52 PM
RE: Clock Hands Challenge - Thomas Klemm - 03-06-2019, 07:28 PM
RE: Clock Hands Challenge - RMollov - 03-07-2019, 07:21 AM
RE: Clock Hands Challenge - xerxes - 03-06-2019, 10:03 PM
RE: Clock Hands Challenge - Joe Horn - 03-06-2019, 11:55 PM
RE: Clock Hands Challenge - xerxes - 03-07-2019, 02:19 PM
RE: Clock Hands Challenge - RMollov - 03-08-2019, 03:30 AM



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