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

Автор tourist, 4 года назад, перевод, По-русски

XX Open Cup Grand Prix of Gomel takes place on Sunday, February 16, 2020, at 11:00 AM Petrozavodsk time.

The links to the contest:

You need an Open Cup login to participate.

I'm the writer of all the problems. Let's discuss them here after the contest!

UPD: Thanks for your participation! Editorial is available.

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

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

When I login into the page I get the following message: "The virtual contest is in progress. You are not allowed to participate".

EDIT: Now both links given for Div 1. seem broken to me.

EDIT2: fixed, thanks :D

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

How to solve B and H?

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

How to solve E?

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

    Let $$$P(X) = \sum p_i \cdot x^i$$$. We need to find several first coefficients of $$$Q(x) = P(x) ^n$$$.

    We can write equation $$$Q'(x) = (P(X) ^ n)' = n \cdot (P(x) ^ {n-1})P'(x) = n \cdot Q(x) / P(x) *P'(x)$$$

    So $$$P(x) \cdot Q'(x) = n \cdot Q(x) \cdot P'(x)$$$. If we write everything about $$$x^m$$$ it will give us a way to represent (m+1)-th of coefficient of Q(x) from deg(P) previous.

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

Only after reading editorial for A I noticed that it's guaranteed that n is divisible by k. :)

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

How can I obtain an opencup account? I've messaged snarknews on CF but got no response.

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

There is linear solution for F based on fact we can calculate $$$f(k) = \sum\limits_{t\geq n} bin(k, t)$$$ for all k in linear time

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

Instead of matching algorithms for G we can use much much simpler approach (especially when compared to blossom): take arbitrary unmatched vertex and match it to its random neighbour — if it that random neighbour was already matched before then unmatch it

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

We can use the symmetric chain decomposition of the boolean lattice to solve the bipartite case for G constructively. You can read pages 5 and 6 of this slide.

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

Will the mirror of this contest available anytime soon on Codeforces gym?