I agree with the WTF part; it's unusual to have so many pointless answers. I guess this question was linked to from some popular blog or something.
As people noted in comments, to prevent anyone from posting an answer, just close the question. However, if there is no reason to close the question, don't do anything - just vote "-1" for bad answers or vote to "delete" the non-answers.
Coding competition questions are often off-topic (too broad) here, because the competition sites provide no debugging feedback, and the OP doesn't bother providing any diagnostics. So the question is usually
Here is my code. The competition site told me it's bad. Please help.
However, this specific question is a little better than average. It asks
However the code fails because it fails a few complex arrays and does not scale well.
Here, you can answer at least the "does not scale" question. So the question should not be closed.