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

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

I encountered strange bug when I tried to solve hard problem from TCO 2017 Semifinal 1(statement). My solution kept getting TL. I spent a lot of time debugging and realised that this TL doesn't depend on my solution. Actually, this simple code which only works on sample cases also gets TL. Why? hmehta, misof please help.

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

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

I've encountered the same issue in this problem today. I'm almost sure that it's because the input size is too big in this problem (topcoder limit is around 20,000 characters) and then it's UB in Topcoder. I guess there is nothing they can do about it now.

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

    Hi Errichto, When you will stream again in youtube ?

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

    Sadly, nobody noticed me that limit.

    And this is too late regret, but now I think reduce coordinate range and count the number of good rects is better. I was too fool, sorry.

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

aid, checking on that! Will revert asap!

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

    Hey aid, Sorry for the delayed response but yes it's because the input size is too big.

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

      Thanks for looking into it. I hope such thing won't happen this year.