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

Автор code_warrior, история, 6 лет назад, По-английски

Can anyone provide me a good set of dsu problems that exclusively includes its usage and can only be solved through it and not by any others like dfs or bfs!

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

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

I solved this problem using DSU because it seemed natural to use it here: https://codeforces.me/problemset/problem/400/D