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?
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
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.