[problem:https://codeforces.me/edu/course/2/lesson/7/1/practice/contest/289390/problem/C]
i tried it solve with all type of dsu but unfortunately it got or tle or wa please help me!
[problem:https://codeforces.me/edu/course/2/lesson/7/1/practice/contest/289390/problem/C]
i tried it solve with all type of dsu but unfortunately it got or tle or wa please help me!
https://cses.fi/paste/57abd6ef168285321248c4e/
here is my code can you explain me my incorrect thing on my code?