Kaey's blog

By Kaey, 18 months 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

| Write comment?
»
18 months 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?

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

    wise mystical teaser has come!

»
18 months ago, # |
  Vote: I like it 0 Vote: I do not like it

All hail the wise mystical tree! (Sumtree)

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

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

»
18 months ago, # |
  Vote: I like it +3 Vote: I do not like it

Sorry if I broke cms

»
18 months 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?

  • »
    »
    18 months 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

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

      I thought it was over back then. Sorry

»
18 months ago, # |
  Vote: I like it +3 Vote: I do not like it

what happened with sumtree?

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

    It's just a virtual tree problem?

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

      Based

    • »
      »
      »
      18 months 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

      • »
        »
        »
        »
        18 months 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?

      • »
        »
        »
        »
        18 months 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})$$$

        • »
          »
          »
          »
          »
          18 months 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

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

            Can you explain how you solved the problem please?

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

      centroid decomposition crying in the background

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

        centroid decomposition is also a good approach

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

        small to large crying in the background

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

          Could you share your code using small to large?

          • »
            »
            »
            »
            »
            »
            17 months ago, # ^ |
            Rev. 2   Vote: I like it 0 Vote: I do not like it
            Spoiler
            • »
              »
              »
              »
              »
              »
              »
              17 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?

              • »
                »
                »
                »
                »
                »
                »
                »
                17 months ago, # ^ |
                  Vote: I like it 0 Vote: I do not like it
                Sure!
  • »
    »
    18 months 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