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 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)