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

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

is here! Finally, solutions can be spoilered!

For example, my solution to F from CROC 2016 - Elimination Round:

We need LaTeX in spoilers, too.

UPD: Hell yeah, finals! I'll just leave this here.

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

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

I like it!

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

my solution is also O(M*8505) but it got TLE on pretest #7 :(

constant optimizations sucks, and all problems that have TL more than 3 seconds sucks too

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

We did not intend for any solution with the constant 8500 to pass. We tried to fail these. The intended solution is , where

I'm amazed that C++ runs so quickly that taking a constant of 8500 passes. Maybe we should have made Q = 2·105, and N = 0 instead.

Our solution will be posted soon.

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

    But how would you fail 8.5e8 subtractions?

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

      Not sure, I was just noting that letting this pass was unintended... the constant factor on the other solution was high enough that I think anything substantially less than 8s was too little.

      It doesn't really matter I guess, you should try finding a slightly faster solution anyways. :P

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

        My solution works 2s without any optimisations. May be 4s time limit will be ok if you add all maxtests in pretests.

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

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

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

    it seems that you need to try out to be a victim of some terrorist attacks in order to understand why refugees are coming to your country.

    instead of offending refugees, why not start to offend countries which are supporting terrorism because if those countries wasn't supporting terrorism there would not be refugees now.

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

      I'd like to not turn CF comments into political discussion, thank you. We can continue by PM, though.

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

      Take a joke will ya? This is satire.

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

        I don't think its easy for Syrians and other refugees to take these satires in good spirit. The rest of the world needs to understand that.

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

          I'm Syrian.

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

            You're not the only Syrian and you're not the only refugee(if you are a refugee at all) :)

            My point is, its hard for someone who has lost someone very close in a war, or lost their homes, family and such, or just a general patriotic sentiment against war and how people are rendered homeless. Good to know you are still able to take a joke :) It means you haven't lost anything in other peoples' stupid wars.

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

              I had 2 family members who were fighting in this war. One of them is dead, the other one still is.

              Syrians like Jaddouh don't take jokes not because of the specific horrible situation, but because of the sensitivity culture where emotions are valued more than facts. I can go into more detail but this isn't the place for it. I just want to say that people don't have the right to not to get offended.

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

Spoiler