DanielB999's blog

By DanielB999, history, 12 months ago, In English
  • Vote: I like it
  • +41
  • Vote: I do not like it

| Write comment?
»
12 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Hi!. In the problem K, the checker is correct?

I made my own checker to verify that the toppings I placed are related and also later check that the number of groups with different toppings is >= k

Link of code: https://ideone.com/JpyUC7

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

    I guess it's because the number of different toppings should be exactly equal to K

    By the way, I'm curious about the solution for this problem

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

      This was my solution for problem K:

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

        Wow, very beautiful solution

        Thanks!

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

      F for my reading comprehension in the regional XD

»
12 months ago, # |
  Vote: I like it +11 Vote: I do not like it

I decided to write an unofficial editorial of the contest. It contains hints/solutions of all the problems. Feel free to check it here :)

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

In problem A, we are told that $$$x_i, y_i \neq i$$$ and $$$x_i \neq y_i$$$ but when verifying this condition with an assert, it is not fulfilled in some cases