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

Автор Hexagons, 9 часов назад, По-английски

Thank you for joining the contest 😊.

How did you find the contest?
Which problem is your favourite?

A. SUNNY

Editorial

B. AUBREY

Editorial

C. HERO

Editorial

D. KEL

Editorial

E. MARI

Editorial

F. BASIL

Editorial

G. OMORI

Editorial

Feel free to provide any feedback or constructive criticism in the comments (For the problem ideas, problem setting, problem statements, the editorial itself, etc..) as it will be useful for me to create contests in the future 🙂 (Also if you don't mind, don't forget to upvote the blog, I want to be a top contributor for once in my life 🥺).

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

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

Problems are very nice, thank you for the contest

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

great contest, well done !

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

I really need to learn how to generate good testcases lol

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

    for about 40 mins i thought i was the worst person at implementing mo (to be fair i still am)

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

    I think you saw my solution

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

    I solved $$$F$$$ using probabilities.

    Let's assume that $$$S$$$ is a random subset of all types. It's obvious that if the winner is BASIL (i.e., the XOR sum of each type in $$$[l, r]$$$ is $$$0$$$), then $$$S$$$'s XOR sum is also $$$0$$$.

    If at least one type's XOR sum is greater than $$$0$$$, the probability that it does not belong to the subset $$$S$$$ is at most $$$\frac{1}{2}$$$. I used 30 random subsets, so the probability of getting a wrong answer is less than $$$\frac{1}{2^{30}}$$$.
    286472505

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

Excellent contest. Thanks my dear friend Hexagons for making this beautiful work.