Re: Gantt Golf

2003-10-29 Thread Mtv Europe
Hello Riley! [EMAIL PROTECTED] (Riley) wrote: > On a side note, I am using ActivePerl, and am having problem using > switches. It seems as though -n and -p would be extremely useful here, > but I always get errors when I try via either a script or from the > command line. Has anyone dealt with t

Re: Gantt Golf

2003-10-29 Thread Riley
> map{split/ > /;[EMAIL PROTECTED];[EMAIL PROTECTED];my$m;map$m.="-",1..$l;map{$s[$i]=$e[$_]if($e[$_]>$s[ > $i])[EMAIL PROTECTED];my$n;map$n.=" ",1...$s[$i];$e[$i]=$l+$s[$i];print"$i $n$m\n"} I found a few more shortcuts and ended with the following: map{split;[EMAIL PROTECTED];[EMAIL PROTECTED]

Re: Gantt Golf

2003-10-29 Thread Shlomi Fish
Now that the contest is over. On Mon, 27 Oct 2003, Riley wrote: > I'm new to the whole golfing game, and I'm trying to get my swing down... > > Regarding this last puzzle, I've created a solution (albeit extremely long > in comparison to some of those I've seen in older puzzles), and in trying t

Re: Gantt Golf

2003-10-28 Thread Ton Hospel
In article <[EMAIL PROTECTED]>, "Riley" <[EMAIL PROTECTED]> writes: > I'm new to the whole golfing game, and I'm trying to get my swing down... > > Regarding this last puzzle, I've created a solution (albeit extremely long > in comparison to some of those I've seen in older puzzles), and i

Gantt Golf

2003-10-28 Thread Riley
I'm new to the whole golfing game, and I'm trying to get my swing down... Regarding this last puzzle, I've created a solution (albeit extremely long in comparison to some of those I've seen in older puzzles), and in trying to get a feel for the shortcuts that all of you use, I'm wondering if perha