Help in Dynamic Connectivity problem

Правка en1, от 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.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский prodipdatta7 2020-03-26 12:30:22 8692 Initial revision (published)