< :the previous in number
^ :the list in numerical order
> :the next in number
P :the previous (in thread)
N :the next (in thread)
|<:the top of this thread
>|:the next thread
^ :the parent (reply-to)
_:the child (an article replying to this)
>:the elder article having the same parent
<:the youger article having the same parent
---:split window and show thread lists
| :split window (vertically) and show thread lists
~ :close the thread frame
.:the index
..:the index of indices
On Dec 1, 2007 5:05 PM, Eric I. <rubytraining / gmail.com> wrote:
> On Dec 1, 5:27 pm, Todd Benson <caduce... / gmail.com> wrote:
> > On Dec 1, 2007 4:18 PM, Daniel Martin <mar... / snowplow.org> wrote:
> >
> > > "Christian von Kleist" <cvonkle... / gmail.com> writes:
> > > But:
> >
> > > '1 2 - 3 4 - -' should become '1 - 2 - (3 - 4)'
> >
> > Or '1 - 2 - 3 + 4' (yikes!) :^0
>
> Well one feature of the Ruby Quiz is that our Quiz Master generally
> allows submitters quite a bit of flexibility in reinterpreting the
> problem. To me, however, that form seems outside the problem
> description, as you're a) applying the distributive property, and b)
> ending up with a different set of operators than what you started with
> (from 3 minuses to 2 minuses and 1 plus).
>
> And once you start down the road '4 2 3 + *' could become '4 * (2 +
> 3)', '8 + 12', or even '20'.
>
> Eric
Of course. It's not a quiz about simplification. I just thought it
was funny (a stretch on the minimizing of parentheses). It keeps the
same digits, though; only changes the operators. It's quite clear
that the only symbols -- digits or operators -- we're allowed to add
or remove are ) and (.
Cheers,
Todd