Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • \$\begingroup\$ Is Lisp like notation acceptable? For example 1 2 3 4 + mean ` 1 + 2 + 3 + 4` . \$\endgroup\$ Commented May 15, 2012 at 22:31
  • 3
    \$\begingroup\$ @Hauleth: Not in this challenge, no. Besides, without parentheses, how would you parse 1 2 3 4 + *? \$\endgroup\$ Commented May 15, 2012 at 23:06
  • \$\begingroup\$ So, no trailing whitespace (including a newline) is permitted in the otuput? \$\endgroup\$ Commented May 16, 2012 at 2:19
  • \$\begingroup\$ @breadbox: Trailing newlines are OK. In fact, let me explicitly clarify that any trailing whitespace is allowed. \$\endgroup\$ Commented May 16, 2012 at 15:22
  • \$\begingroup\$ I have a solution which outputs "0 1 - 2 3 - 4 * 5 6 7 8 + 9 / - 10 + * - + " for the last valid example, which seems correct to me. Can you check? (Notice the last + operator) \$\endgroup\$ Commented Sep 22, 2016 at 12:31