bayram's blog

By bayram, 13 years ago, In English

Please can anyone help in solving this problem. Here is the link.

  • Vote: I like it
  • +11
  • Vote: I do not like it

»
13 years ago, hide # |
 
Vote: I like it +4 Vote: I do not like it

This problem can be solved by using DSU and some DFS.