Maybe it's just my opinion, competitive programming related questions seems to be offensive on SO to many others. By competitive programming related, I mean those online judges problems, programming competition problems, or ACM-ICPC style problems.
Every time I see this kind of problems (or when I ask one myself), the result is usually very negative, with lots of down votes and little constructive comments / answers.
What I wonder is, How should a competitive programming question be asked?
The wordings of the question, "Bad" styled codes (#define LL long long
, #include<bits/stdc++.h>
without explanation, etc)...I agree any OP has the responsibility to increase the wordings/ code quality to meet SO standard.
What I concern about is "show your effort" part.
This kind of problems feel like college homework (with a much higher difficulty though) as they are normally not related to frameworks, design pattern, but more like a pure algorithmic task. This will attracts tons of homework? comments, with no one even look at the problem description thoroughly.
These problems often are difficult to even make up an idea to solve (on the contrast, if one can make up an correct idea, usually the implementation is simple). This means if I have totally no clue on the problem, I can hardly provide codes to show my effort, no matter how much time I have spent on writing on paper to try getting an idea.
One can argue that, usually such online-judge sites will have its own community, thus there are many online resources (editorial, other's code, discussion) other than SO.
But does that mean one cannot ask such questions on SO? Also there are many online-judge problems having NO such resources, for example, many ACM-ICPC archive problems: http://www.codeforces.com/gym/100765
So if one really want to learn how to solve these problems with no support, no other online resources, how should he asked the problem on SO? Or such problem is simply a taboo on SO?
(I do not mind no one even view the questions, but when everyone down vote the question without even reading the problem statement, it is quite frustrating to me, as sometimes SO is my last hope to get help)