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

Автор xi_phi, история, 20 месяцев назад, По-английски

You can watch the questions here.It was one of the questions in our school question bank and I tried to solve it, but unluckily that I didn't know how. Can you help me find the official solution to this problem (or this contest)? Thank you!

Sorry, my English isn't very good.:<

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

»
20 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I don't know how to do this question, but I think it will use dsu on tree.