Kaey's blog

By Kaey, 2 years ago, In English

The first round of the IIOT (International Informatics Olympiads in Teams) is starting tomorrow, November 14th 2022! The open contest will be 3 hours USACO-style, starting from 17:30 CET, and ending 27 hours after that. In the meanwhile, you can enjoy our teaser below and try to guess the next eight problems from the hints :)

This contest, of a lower difficulty level than the IOI, is intended for teams of 4 contestants from the same high school (check this post for further details). However, everyone is welcome to participate to the open contests!

If you want to participate, you must:

  1. Visit the contest website: https://mirror.squadre.olinfo.it/
  2. Click the link "register", fill out the form and then click on the register button and then "back to login"
  3. You can now log in with the same username and password you used to sign up
  4. If the login is successful you will be ready to participate, just wait for the contest to start! (and maybe save the page in your bookmarks, so that you can quickly get back to it when the contest begins)
  5. When the contest starts, you will see a red button. Click it when you want to start your 3 hour time window!
  6. The ranking for each contest will be available at https://mirror.squadre.olinfo.it/ranking/ after the start of each contest
  7. The tasks will also be available for training in https://training.olinfo.it/#/tasks/ few days after the contests
  8. Good luck and have fun!

We hope that you will join us or encourage your students to do so!

Tommaso Dossi (on behalf of the Italian IIOT organizers)

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

»
2 years ago, # |
  Vote: I like it +24 Vote: I do not like it

I don't see the teaser, how would we know which number police is this time?

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

    Police 8 solution: Treap of DSU of FFTs of CHT of LIS

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

    wise mystical teaser has come!

»
2 years ago, # |
  Vote: I like it 0 Vote: I do not like it

All hail the wise mystical tree! (Sumtree)

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

    All hail thank god subtask 2 wasn't included in subtask 3

»
2 years ago, # |
  Vote: I like it +3 Vote: I do not like it

Sorry if I broke cms

»
2 years ago, # |
Rev. 3   Vote: I like it 0 Vote: I do not like it

Since contest is over, can someone share implementation of monopoly problem please?

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

    How is it over? it still has a couple more hours to go

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

      I thought it was over back then. Sorry

»
2 years ago, # |
  Vote: I like it +3 Vote: I do not like it

what happened with sumtree?

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

    It's just a virtual tree problem?

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

      Based

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

      I meant what happened with the scoring, my nlogn code got wrong answer in the last subtasks during the contest so my team ended our time frame with 70 points on it, but a few hours later it got updated to 100

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

        Was going to ask this. Many teams' scores suddenly changed. Maybe there was something wrong with tests?

      • »
        »
        »
        »
        2 years ago, # ^ |
        Rev. 4   Vote: I like it 0 Vote: I do not like it

        Wait nlogn? I only came up with $$$O(2^5n\log{n})$$$

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

          Well yes I also have the 2^5 coefficient, but it's pretty much a constant

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

            Can you explain how you solved the problem please?

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

      centroid decomposition crying in the background

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

        centroid decomposition is also a good approach

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

        small to large crying in the background

        • »
          »
          »
          »
          »
          23 months ago, # ^ |
            Vote: I like it 0 Vote: I do not like it

          Could you share your code using small to large?

          • »
            »
            »
            »
            »
            »
            23 months ago, # ^ |
            Rev. 2   Vote: I like it 0 Vote: I do not like it
            Spoiler
            • »
              »
              »
              »
              »
              »
              »
              23 months ago, # ^ |
                Vote: I like it 0 Vote: I do not like it

              So we only need to count for each node in how many pairs it is the lca, which can be done by simply querying each subtree of it in the DS and then adding it to the DS, and in the end querying + adding the node itself.

              could you explain this part in more detail please?

              • »
                »
                »
                »
                »
                »
                »
                »
                23 months ago, # ^ |
                  Vote: I like it 0 Vote: I do not like it
                Sure!
  • »
    »
    2 years ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    I wonder if there is an $$$O(n(2^5+\log{n}))$$$ solution hmmm