Help in Dynamic Connectivity problem

Revision en1, by prodipdatta7, 2020-03-26 12:30:22

Hello Codeforces!
problem link: Connect and Disconnect
my buggy solution:

Spoiler

I have read the tutorial from here and have tried to solve the problem linked above. But I'm getting WA on test 7. Can't find the bug of my code.
I need help to find out the bug.
please help me.

StayAtHome

TIA.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English prodipdatta7 2020-03-26 12:30:22 8692 Initial revision (published)