Do you know where your variables are? | |
PerlMonks |
Re: (Golf) Reversing RPN Notationby bobione (Pilgrim) |
on May 22, 2001 at 16:58 UTC ( [id://82213]=note: print w/replies, xml ) | Need Help?? |
Well, I made my better but it is not enough. I am happy to solve a part of this problem. Here my small contribution : (I use special variable $, $/ and $; to minimize declaration)
My solution don't really minimize brackets :( (but seems to be correct most of the time; more brackets are better than less :)) Another problem is that I don't use %operator because it wasn't really helpful (without last change). So It can't solve Update #2 from Masem (I only see it now).
This problem is very tricky... When should we use brackets or not ??? BobiOne KenoBi ;)
In Section
Meditations
|
|