theSkeleton's blog

By theSkeleton, history, 4 months ago, In English

hello everyone :) recently I was thinking about the idea of adding a working solution to question to help better understand the question statement, obviously I'm not talking about just witing the solution in the problem statement, what I'm talking about is like a simple executable that will output the right output if givven the right input regarding the problem now here is my question, I would assume I'm not the first person to come up with such idea, so what I ask is, what is the flaw with it? the reason something like this hasn't been implemented?

  • Vote: I like it
  • +2
  • Vote: I do not like it

»
4 months ago, # |
  Vote: I like it +23 Vote: I do not like it

People can disassemble the executable and submit inline asm as the solution, even without source code

Even you just add something like custom test, having the right solution for a non-trivial input can greatly weaken a problem

  • »
    »
    4 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Submitting obfuscated or unreadable source code is against the official rule of Codeforces. Such solutions may be regarded as cheating.

»
4 months ago, # |
  Vote: I like it +27 Vote: I do not like it

If its a hard problem with a pattern, instead of solving the problem, people would spam inputs to figure out the pattern. And also this would basically ruin all "troll" problems.

»
4 months ago, # |
  Vote: I like it 0 Vote: I do not like it

i think it's already bad enough that we have lot of people guessing random greedy solutions and getting AC on div2 B and C. This would only make the problem worse lol.