Virtual_Contestant's blog

By Virtual_Contestant, history, 4 years ago, In English

Hello everyone, can anyone help me solve this problem using DSU? It would be more great if you do some modifications in my code only. Thanks. i know my code is wrong largely but please help me. https://ideone.com/Bwwo5x https://codeforces.com/contest/277/problem/A

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Sorry bro, I couldn't read your code. But I can explain solution with dsu.

Solution