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

Автор 300iq, 5 лет назад, По-английски

Hello everyone, this winter at Petrozavodsk was my first ICPC contest, now it is loaded on the gym.

Contest link.

Virtual participation link.

To ensure Codeforces traditions, I will say thanks to the testers TLE, whzzt, sunset, jqdai0815, isaf27. Also thanks to izban with help in tasks choosing.

And of course, thanks to MikeMirzayanov for Codeforces and Polygon platforms and help with loading this contest to the gym.

A, Short editorial
B, Short editorial
C, Short editorial
D, Short editorial
E, Short editorial
F, Short editorial
G, Short editorial
H, Short editorial
I, Short editorial
J, Short editorial
K, Short editorial
Анонс 300iq Contest 1
  • Проголосовать: нравится
  • +225
  • Проголосовать: не нравится

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

editorial?

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

For I do you mean to say that for any biconnected component has size at most 6 because otherwise the result is wrong for a tree of 7 vertices?

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

    No, any connected component. And it is true, probably you misread the statement.

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

      So if I have a tree on 7 vertices + 1 additional isolated vertex and I set A=set of vertices of the tree. Then, there does not exist a,b in A such that any path from a to b pass through the isolated vertex?

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

Can someone explain the solution for problem D with Hall's Theorem? Didn't get in the tutorial.

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

Can someone please share the editorial for contest 2?

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

(Problem D, Dates) Please, anybody can explain, what is meant here : (Tutorial)Let’s keep largest indj− psumsrj and smallest indi − psumsli in the vertex of segment tree, now all what you need to do is to check the inversions of these values of two children in each vertex.