aid's blog

By aid, history, 6 years ago, In English

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.

  • Vote: I like it
  • +23
  • Vote: I do not like it

| Write comment?
»
6 years ago, # |
  Vote: I like it +16 Vote: I do not like it

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.

  • »
    »
    6 years ago, # ^ |
      Vote: I like it -86 Vote: I do not like it

    Hi Errichto, When you will stream again in youtube ?

    • »
      »
      »
      6 years ago, # ^ |
        Vote: I like it +20 Vote: I do not like it

      How is it related to the topic? Don't spam.

  • »
    »
    6 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    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.

»
6 years ago, # |
  Vote: I like it +19 Vote: I do not like it

aid, checking on that! Will revert asap!

  • »
    »
    6 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

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

    • »
      »
      »
      6 years ago, # ^ |
        Vote: I like it +3 Vote: I do not like it

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