I can't find any mistake in my solution,please help!!

Revision en1, by kevin9807, 2019-05-25 14:33:09

Problem link is here https://codeforces.com/contest/1167/problem/C

I used disjoint union but don't know why the size array converts to zero entry in test case 3 although I initiated it to 1 and did only addition. Thank You.

https://codeforces.com/contest/1167/submission/54618835

Tags education round 65, disjoint union

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English kevin9807 2019-05-25 14:33:09 340 Initial revision (published)