Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
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

In reply to Re^2: Challenge: Egg Timer Puzzles by Limbic~Region
in thread Challenge: Egg Timer Puzzles by Limbic~Region

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others cooling their heels in the Monastery: (4)
    As of 2019-12-08 00:42 GMT
    Find Nodes?
      Voting Booth?
      Strict and warnings: which comes first?

      Results (162 votes). Check out past polls.