Problem on Mo's Algorithm on Trees?

Правка en1, от -synx-, 2017-11-04 06:49:24

So the problem goes like, we have colors designated to vertices of tree and we need to find distinct values in subtree of a vertex (queries).
Can anyone share/remember such a problem?
Thanks.

Теги mo algorithm, #trees

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский -synx- 2017-11-04 06:49:24 233 Initial revision (published)