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*

6
  • 2
    \$\begingroup\$ I see you haven't come across one of GolfScript's useful quirks: you can use any token as a variable. You're not using & anywhere, so you should be able to replace s while & and remove the whitespace. \$\endgroup\$ Commented Jul 11, 2013 at 7:00
  • \$\begingroup\$ @PeterTaylor huh, I was wondering why you could use ^ as a variable in the fibonacci challenge ;) Thanks for the tip! \$\endgroup\$ Commented Jul 11, 2013 at 7:05
  • \$\begingroup\$ For input 3 2 1 I get 131211 which is not correct. \$\endgroup\$ Commented Jul 11, 2013 at 8:08
  • \$\begingroup\$ @Howard got it to work now \$\endgroup\$ Commented Jul 11, 2013 at 10:37
  • \$\begingroup\$ @Volatility The last change was a bit too much ;-) E.g. lists like 2 1 1 cannot be sorted any more. \$\endgroup\$ Commented Jul 12, 2013 at 7:54