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

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

I submitted the solution to 1367D - Task On The Board during the contest (**Pretest Passed**). Later on, someone hacked it, that's fine.

But after analyzing a bit I found my code wasn't even working correctly for TestCase 1, then how did it pass the pretests.

Here is my submission 83979354, kindly check my output on test1 of testcase1.

Input
Output

I don't have 2 'b's. This shouldn't have passed the checker was wrong itself during the contest.

It must have affected a lot of people as well.

Sorry to say but will this make the contest unrated?

UPD1: As expected my solution is hacked on Testcase 1 itself. The same checker first passes the solution, and later fails the solution on the same Testcase, does that make any sense?

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

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

True! that ruined the contest completely, it shouldn't happen.

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

Wrong checker implies contest is unrated in most of the times, as far as i know. Obviously, Many people were affected by this

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

Yes ,it also effected me and later somebody hacked it with same testcase.

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

    But why one will submit if his code is not working for sample input. So its fault from both the side

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

      Doesn't make any sense. That what checker do!

      Tell you when your code isn't correct.

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

        But what was the point of submitting a code that you know will fail. Maybe you like wrong answer on test1?

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

          I submit ( sometimes ) my problems for div2A , or even div3A , div3B without even compiling my code locally ( to save penulty minutes ) when I am very confident about my code.

          Maybe ; just maybe someone might have done the same for div3D as well ?!

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

          There can be a lot of instances as to why that happens. One of'em which has happened to me, a lot of times, is when I submit a solution that passes the test case 1, but fails the pretests. So, when I go back to see the bug in my code, I often think up test cases on my own to check exactly where my code is failing. When I correct my code to fit the test case(the one that I thought of), I often submit the solution without checking for the official test case 1, assuming it might be right.Even if we ignore the tiny of chance of this happening to somebody, don't you think it's up to the person to submit a code without checking it(via official test cases)? Because, should that solution fail, (s)he and only (s)he will suffer the consequences of it.

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

          Wrong checker doesn't mean anything then?

          There can be cases, where sample testcase was running fine, but other pretests got accepted even the code was generating the wrong answer. Then?

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

      In the question they mentioned that any possible answer is accepted ,when i was getting different answer i checked if my answer was giving same array but i did not check it with the given string.

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

So are you guys saying the whole contest is unrated or that particular question alone for rating calculation?

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

I also faced the same issue. I didn't submitted because i could clearly see that it failed to pass even the first testcase on my own compiler!

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

This is a major issue if hidden test cases fail despite an AC verdict. If the public, sample test cases fail on your own local machine, then shouldn't the responsibility fall on the candidate to ensure correctness?

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

    Wrong checker doesn't mean anything then?

    There are cases, where sample testcase was running fine, but other pretests got accepted even the code was generating the wrong answer. Then?

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

      This is a major issue if hidden test cases fail despite an AC verdict

      How many people were affected by this? 1000 people solved D correctly despite an incorrect checker. Moreover, the number of people affected by this issue seems small, less than 100 or so. Making the contest rated is unfair for them, but making the contest unrated is unfair to the other 11900 who participated.

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

    Yes even there can be the situation that no such test cases are there in the pretests then I need to check for every possibility on my local machine I can't completely rely on the pretests verdict.

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

I believe round should still be rated....
If you know that your code is not passing given example test case and you still submitted....??

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

OH!I think it's unfair whether it's rated or not.

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

It passed the checker I agree but then you got hacked which you therefore deserved so the net effect is 0 and so this round should NOT be unrated. Your code was wrong in the first place and so you got hacked as simple as that.

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

    Yes I agree with your words but if you would have got wrong verdict during contest then you would have rechecked and most likely submit correct one. But once you got ac you moved to next question and later it was hacked with sample input itself

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

Just curious, it seems your solution is hacked by exactly TestCase 1. If the checker is wrong, shouldn't the hacking attempt fail too?

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

If someone submitted the wrong solution then he/she was not thinking of the case where it fails . Even if checker would have been correct but there were no such testcases then it would give OK response initially and later on solutions will be hacked but now since checker was not correct at that time making it a reason for hacked submission is not fair.

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

I mean, yes wrong solutions passed, but they later got apprehended in the hacking phase. Is that not the purpose of the hacking phase?

If anyhow a wrong solution is submitted, doesn't it make sense that it got hacked and then all is back to normal? If all solutions that cleared the pretests were complete correct by rule, a hacking phase would not make any sense imo

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

When contest was over, I saw many solutions where they were not even checking if they have count of character which needed. I think there are many such sol.

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

I think the round should be rated. This case is the same as when pretests are weak and your solution passes. Since the hacks work, the checker is actually fixed

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

I don't know how hard it's to do this, but making the round unrated for those who were wrongly judged in D makes more sense since it'll be equally unfair to make a mass decision that applies for all.

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

It seems I'll exclude all affected participants from the rating. I don't see any reason to exclude any who didn't catch this mistake during the round.

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

This contest was already unrated for u... XD

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

Can someone tell me whether people affected by the D question still have a chance to get rating?