Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Challenge: Egg Timer Puzzles

by GrandFather (Sage)
on May 02, 2006 at 23:42 UTC ( #547018=note: print w/replies, xml ) Need Help??

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
    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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2019-11-19 02:53 GMT
Find Nodes?
    Voting Booth?
    Strict and warnings: which comes first?

    Results (93 votes). Check out past polls.