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

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

Topcoder SRM 697 starts in around 16 hours, and no blog made yet. So I thought I'd make one.

Timing here

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

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

Cool! No one solved the easy problem :D

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

There are some technical issues with Easy, should be resolved in a moment.

You can enjoy the detailed editorial at the topcoder website.

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

How to solve Div2 Hard (XorOrderDiv2) ?!

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

May be out of the topic But where are the editorials for the SRMs(I mean 696 and others) which are missing on this page here

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

    Yeah i too can't find them , some one please explain

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

    All editorials are at the website you linked. They are usually created after the round, sometimes with much later.

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

      Thanks for guiding... (It means I should check the page regularly after the contest if I do not find just after the contest... ) :)

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

    For 696 in particular I started a post that currently only has div1 easy, but today I got AC on div2 hard and div1 medium, I will write the explanation later today :)

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

Hi, I was writer this time, Errichto was a tester.
I apologize for the issue with div1-easy, I occasionally commited wrong solution during the contest to see if it works. We still don't know if it affected anybody during challenge phase, if it affected the contest probably will be unrated.
Hope you found some interesting task during the contest anyway.
UPD: We believe that most likely it didn't affected any challege. So there is a strong chance it will be rated.

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

    Is it common for things to be tested during the competition? IMO, it's far better to let incorrect solution pass than to run the risk of this happening during systest.

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

      Arterm thought that he has made a mistake in one of his generators, went to the problem-preparing system, compiled his own solution with something added, and run it on all tests. Btw. everything was ok with tests so it was all unnecessary. Unfortunately, that solution was saved for some reason.

      I don't imagine being unable to test something during the contest. Organizers often want to check something. In particular, sometimes we are worried about the correctness of our solutions of the validity of the test data. It means that we use the system sometimes. In this particular case it wasn't a must, but who would think that checking something will lead to issues with the systesting? The risk seemed to be to small to consider it (but yeah, sth went wrong).

      I must also add that it was me who advised him to just "compile and run" in the system. I thought that not submitting won't save a solution. So my advice was very very bad.

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

        In this particular case it wasn't a must, but who would think that checking something will lead to issues with the systesting?

        I'm pretty sure exactly the same thing happened in a recent SRM (I don't remember exactly which, maybe someone with a better memory can tell us), so the chance must be bigger than you imagine :)

        It's computing, whatever can go wrong usually does, which is why you should only mess with things as a last resort (e.g. test data doesn't follow constraints, or there is a high probability the solution is wrong). I'm pretty sure solutions that don't sort the array would be very easily challenged anyway.

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

          Yeah, you are right I think.

          I remember an interesting situation from one CF round. It's advised that a checker should print some info in case of WA, e.g. "the printed numbers must be distinct". It's displayed only during the upsolving (and organizers see it during the contest). During the round we saw that in one case a checker prints 0 instead of some other number in the middle of some message. I made a change (requiring some new variable) in the checker (why not, right?), run tests on all our ~10 solutions, and committed. A moment later I found a mistake and managed to find a wrong solution for which my new checker gives AC. Ok, I must quickly go back to the first version. And then I REMOVED the checker by mistake. Polygon is smarter than me though, and it didn't allow me to update a problem in the CF round. Yeah, that was fun. And note that the first change wasn't even important — that info wasn't displayed to any participant during the contest. During the contest you would see only e.g. "WA on test 4" anyway.

          small note: I simplified the story a bit. In particular, not only Polygon but also a coordinator tries to not allow you to destroy a contest.

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

          I'm pretty sure exactly the same thing happened in a recent SRM

          Are you thinking of SRM 652? This was a while ago (over a year), but in that case, some last minute changes were made to the checker but there was a mistake. Details located here and here.

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

          And the other way around, software should be designed to be as foolproof as possible — if a user could do something wrong, it should be expected that he will do it for sure.

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

      I believed it is completely safe. Like, we discussed and agreed not to changing testset. I was just curious if wrong solution will pass. But, unfortunately, it went to production and messed up.
      If you interestring, issue was the following: in around 30%-40% of testcases all b-s were sorted. So, if you want to check they distinct checking each adjacent pair, you may fail if you do not sort.

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

No electricity supply for 14 hours. That's why no blog. I didn't even got the chance to participate in SRM.

Thanks to MedoWith11Es for the post.

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

please anyone can explain the div2 hard(1000)..

I have read the editorial but couldn't understand how trie tree work. I need some help how trie work for this problem. Thanks in advance.