in reply to Challenge: Egg Timer Puzzles

Nice challenge, but a number of sample problems would be good as test cases and to indicate a unified way of providing the problem data.

I guess something like: <target time> <, timer time>+ would be appropriate. So your sample problem could be specified as:

3, 7, 4

with the answer provided as:

begin 7, begin 4 ends 4, begin cooking ends 7, end cooking (time = 3)

DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^2: Challenge: Egg Timer Puzzles
by Limbic~Region (Chancellor) on May 02, 2006 at 23:48 UTC
    GrandFather,
    Good point - thanks. In this particular case I don't see much harm in letting contributors interpret things as they want to as it is just a fun exercise in learning but some uniformity is always a good thing.

    Let this serve as a guideline for anyone seeking one.

    Cheers - L~R