in reply to Re: Re: (Golf) Reversing RPN Notation
in thread (Golf) Reversing RPN Notation
If the hash was, instead
then the code would produce the second, correct solution. In other words, the code's correct, the givens are just wrong :-)%o = ( '-' => 1, '+' => 2, '*' => 3, '/' => 3 );
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: (Golf) Reversing RPN Notation
by MeowChow (Vicar) on May 21, 2001 at 22:27 UTC | |
by Masem (Monsignor) on May 21, 2001 at 22:39 UTC | |
by MeowChow (Vicar) on May 22, 2001 at 00:02 UTC |