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\$
6
  • \$\begingroup\$ Which two answers? I see only one answer of 10 characters. \$\endgroup\$
    – manatwork
    Oct 9, 2013 at 7:37
  • \$\begingroup\$ @manatwork: then what about the Perl answer? \$\endgroup\$
    – ProgramFOX
    Oct 9, 2013 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, 2013 at 15:49
  • \$\begingroup\$ Didn't know that, thanks! Changed my accept vote. \$\endgroup\$
    – ProgramFOX
    Oct 9, 2013 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, 2013 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\$ Oct 14, 2013 at 6:59

2 Answers 2

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\$
-3
\$\begingroup\$

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

\$\endgroup\$
1
  • \$\begingroup\$ I'm not one of the downvoters, but I imagine someone could get a few sock puppets and game the system. \$\endgroup\$ Aug 5 at 13:32

You must log in to answer this question.

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