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*

4
  • \$\begingroup\$ Nice algebraic approach! There's a minor bug though: 10/@3%= tries to access the fourth element of an array of length 3 if the input is 35. \$\endgroup\$ Commented Apr 30, 2014 at 5:35
  • \$\begingroup\$ @Dennis, yes, I realised after I went to bed. I can think of various ways of fixing it, all costing 2. \$\endgroup\$ Commented Apr 30, 2014 at 7:32
  • \$\begingroup\$ You can get one char back with 9/3%@3%=. \$\endgroup\$ Commented Apr 30, 2014 at 16:44
  • \$\begingroup\$ I'm currently 7 chars up with some more drastic restructuring. But that 1 char of 9/ instead of 10/ still works, so thanks. \$\endgroup\$ Commented Apr 30, 2014 at 16:46