I read the editorial and tried to implement the same in my code but I am getting TLE. Please help me find out the error and suggest any optimizations.
TLE in problem 888-G Xor-MST
I read the editorial and tried to implement the same in my code but I am getting TLE. Please help me find out the error and suggest any optimizations.