Изменения рейтингов за последние раунды временно удалены. Скоро они будут возвращены. ×

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

Автор AnonySharma, история, 6 лет назад, По-английски

In short: If a problem has 4 sample test cases, and code fails at test 4 then wrong submission is counted, but if it fails at test 1, this code is not counted as wrong submission.

We often over-read the sample output and submit the code, which costs us points. I suggest, if any of the sample test cases fail, wrong submission shouldn't be counted.

MikeMirzayanov, Please look into it.

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

»
6 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by AnonySharma (previous revision, new revision, compare).

»
6 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by AnonySharma (previous revision, new revision, compare).

»
6 лет назад, скрыть # |
 
Проголосовать: нравится +27 Проголосовать: не нравится

I think you should be penalized if you didn't run your code against sample cases

»
6 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Why don't you run your code against the samples? It costs at most 5 seconds. Even if I never read the samples closely, passing all the samples makes me more confident that my code is correct.

  • »
    »
    6 лет назад, скрыть # ^ |
     
    Проголосовать: нравится +4 Проголосовать: не нравится

    The output was a number of 14-15 digits and my second last digit varied, and I missed that and submitted the code. And that was due to an extra if condition in my code.

    Actually, I just wanted to discuss this topic. By the way, laziness is not the issue here, reason why I posted this, is if its still sample case and output is given and one does some silly mistake then it's definitely because the user didn't checked the output properly, and I agree that the fault lies with the user, but still this could be resolved if just the user isn't penalised for sample cases.

»
6 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

This has been discussed before, and the reason there's no penalty on test 1 is in case you submit the wrong code or file, or some other error irrelevant to the correctness of your program. If you fail sample test 4, your program is just wrong.

»
6 лет назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

I am more wondering, how to deal with the problems where more than one output is correct? Forgiving WA #1 in these cases might be a big deal, and I believe it happenned to me a couple of times.

»
6 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

what i think is if you fail on testcase 1 it would be not only due to logical error. it can be random error like selecting wrong question, wrong language, wrong file,etc.

but for testcase 4, it clearly means there is no random but our mistake.

»
6 лет назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

You should use something like cf-tool to check all samples with just one command. And the differences will be clearly marked. So you would never miss a digit or a character.