Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^2: Challenge: Egg Timer Puzzles

by Limbic~Region (Chancellor)
on May 03, 2006 at 13:05 UTC ( #547138=note: print w/replies, xml ) Need Help??

in reply to Re: Challenge: Egg Timer Puzzles
in thread Challenge: Egg Timer Puzzles

It's unclear what the OP intended.

Indeed. I updated the root thread to reflect my intentions though I still want people to be able to intepret the puzzle any way they want. These are fun distractions that I like to post and aren't intended to be right or wrong.

Thanks for your contribution. Compare your solution to my by hand solution for a 20 minute target with 3/5/13/19 egg timers.

3 5 13 19 Step1. 3 & 5 together (elapsed time 3 minutes) 3 2/3 13 19 Step2. 3 & 13 together (elapsed time 6 minutes) 3 2/3 3/10 19 Step3. 10 & 19 together (elapsed time 16 minutes) 3 2/3 13 9/10 Step4. 2 & 9 together (elapsed time 18 minutes) 3 5 13 7/12 Step5. Begin cooking & start 13 (elapsed time 31 minutes) 3 5 13 7/12 Step6. start 7 (elapsed time 38 minutes) 3 5 13 19 Step7. Finish cooking 38 - 18 = 20
Also see where yours fails for 21.
3 5 13 19 Step1 A. Begin cooking & start 19 (elapsed time 19 minutes) Step1 B. Simultaneously start 3 & 5 (no change to elapsed time) 3 2/3 13 19 Step2. Start 2 (elapsed time 21 minutes) Step3. Finish cooking
Of course, you could run this end to end where the 3/5 is done first to get to the 2 minutes and then start the 19 but that would exceed 21 minutes. I think a nice variation on this puzzle would be to limit the overall amount of time you have to cook the egg. This might force the "setting aside" intermediate timers while longer timers are running.

Cheers - L~R

Replies are listed 'Best First'.
Re^3: Challenge: Egg Timer Puzzles
by ikegami (Pope) on May 03, 2006 at 16:33 UTC
    Oops, I forgot to mention it was only mean to work for times smaller than the maximum egg timer time (or is it smaller than the minimum eff timer time?) It was just an initial try.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://547138]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2019-12-07 03:33 GMT
Find Nodes?
    Voting Booth?
    Strict and warnings: which comes first?

    Results (160 votes). Check out past polls.