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
  • 5
    \$\begingroup\$ Next task: Write a program that generates the program with the most unique values. Then golf that program. :) \$\endgroup\$ Commented Jul 8, 2015 at 21:01
  • \$\begingroup\$ @RetoKoradi The first part's what I did. The second... later :P \$\endgroup\$ Commented Jul 8, 2015 at 21:18
  • \$\begingroup\$ @Sp3000 I finished the brute forcing of this style of solution. There's 6+7*5%6%4, 6+7*4%6%5 and 6+8*4%6%5 (left to right, top to bottom), and nothing else. \$\endgroup\$ Commented Jul 9, 2015 at 3:32
  • 1
    \$\begingroup\$ @isaacg there are more 23-point solutions if you throw in some more operators, like &|^ \$\endgroup\$ Commented Jul 9, 2015 at 4:20
  • \$\begingroup\$ Just a random thought: Have you tried allowing + and - in the corners/center? Since they are unary as well as binary operators, that should still result in all valid expressions. Unlikely that it will result in a better solution, but at least it expands the search space. Hmm, actually, it might be a problem because you could end up with sequences of operators. \$\endgroup\$ Commented Jul 9, 2015 at 18:37