0
\$\begingroup\$

On my Code Golf "Converting a string to lower-case (without built-in to-lower functions!)", there're two answers with the same character count (10 characters), and they're both the answer with the lowest character count. On StackExchange sites, it's not possible to accept two (or more) answers, so how can I decide which answer I should accept?

\$\endgroup\$
  • \$\begingroup\$ Which two answers? I see only one answer of 10 characters. \$\endgroup\$ – manatwork Oct 9 '13 at 7:37
  • \$\begingroup\$ @manatwork: then what about the Perl answer? \$\endgroup\$ – ProgramFOX Oct 9 '13 at 15:19
  • \$\begingroup\$ You asked for processing input and producing output. The Perl code needs -p option to achieve that. We used to count -p as +1 in code-golf challenges. \$\endgroup\$ – manatwork Oct 9 '13 at 15:49
  • \$\begingroup\$ Didn't know that, thanks! Changed my accept vote. \$\endgroup\$ – ProgramFOX Oct 9 '13 at 15:50
  • 2
    \$\begingroup\$ The usual explanation is that otherwise C would win everything. In this case Rozuur's solution could be 1 character: pastebin.com/a4skCs9c \$\endgroup\$ – manatwork Oct 9 '13 at 16:08
  • \$\begingroup\$ I thought about the same loophole for java4k once. Write a small interp and have everything in the webstart file. \$\endgroup\$ – Johannes Kuhn Oct 14 '13 at 6:59
5
\$\begingroup\$

Speaking as a person who posts occasional code golf challenges (and not as a moderator), I tend to pick the earlier-posted answer in cases of a tie. Example. (In this case, Adam Davis was a proponent of Fastest Gun in the West, so this wasn't something he could dispute. :-P)

\$\endgroup\$
-2
\$\begingroup\$

I think the ties should be broken by the number of upvotes.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .