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*

2
  • \$\begingroup\$ You can merge the two last lines and earn 1 byte: g=sum.map(\x->(10&x)-(5&x)).lines You can also remove the parentheses for another four bytes: g=sum.map(\x->10&x-5&x).lines \$\endgroup\$ Commented Feb 10, 2016 at 7:46
  • \$\begingroup\$ And 3 more bytes if you merge the map and the fold: a&b=foldl(\d g->min 200$d+a#g)0b \$\endgroup\$ Commented Feb 10, 2016 at 8:05