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\$ Your score: 4583 on 10,000 samples. I'll run it again with more samples if you're among the leaders in a few days. \$\endgroup\$ Commented Oct 17, 2018 at 6:14
  • \$\begingroup\$ Also, I'm running a faster program that samples the same distribution, so I can get more samples. \$\endgroup\$ Commented Oct 17, 2018 at 6:18
  • 2
    \$\begingroup\$ @isaacg For better testing performance, moving candidates out of the function as a global variable should work. \$\endgroup\$ Commented Oct 17, 2018 at 6:21
  • 1
    \$\begingroup\$ Thanks, that's much faster than what I was doing. \$\endgroup\$ Commented Oct 17, 2018 at 6:26