Блог пользователя theSkeleton

Автор theSkeleton, история, 3 месяца назад, По-английски

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?

  • Проголосовать: нравится
  • +2
  • Проголосовать: не нравится

»
3 месяца назад, # |
  Проголосовать: нравится +23 Проголосовать: не нравится

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

  • »
    »
    3 месяца назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

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

»
3 месяца назад, # |
  Проголосовать: нравится +27 Проголосовать: не нравится

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.

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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.