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

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

Today, I wrote the code for two different approaches of 220B - Маленький Слоник и массив (one O(nlgn) and one ) and both of them got verdict Wrong answer on test 33. Here are the submissions:

2097772

2096670

Also my friend LGM submitted his previously accepted code and also got Wrong answer on test 33.

2086826

2097755

Could admins please check if there is something wrong?

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

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

I'm tried to submit my accepted solution from contest — it also got WA 33 now.

  • »
    »
    12 лет назад, # ^ |
    Rev. 3   Проголосовать: нравится +10 Проголосовать: не нравится

    a few minutes before, my AC solution from contest got AC. There are several testing machines, and one of them can contain damaged test data, try to submit several times, changing code (to change it's hash value)

»
12 лет назад, # |
Rev. 2   Проголосовать: нравится +8 Проголосовать: не нравится

I have the same problem...In upsolving my AC (slow) solution gets WA 33 (just like another one, which is faster). Admins, please, fix it!

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

Thank you for the alert. It happends because of randomization of the generator by time like srand(time(NULL)). The generator is from hacks. Actually we are checking them to be stable, but it seems it passed the test. Sorry for inconvenience. I've replaced randomization with fixed srand value and rejudged practice and virtual solutions. It seems issue didn't affect official contestants.

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

    Was the test valid? If it was valid and accepted solutions got WA, maybe this test should be remained?

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

Thx for fixing it... It did ruin my contest, though it was a virtual one >_<