Please omit the last issue that I submitted. Now I may have figured out the problem. In remove_small_components, the line uf.union(a, b) may be chaged to uf=uf.union(a, b)
Please omit the last issue that I submitted. Now I may have figured out the problem. In remove_small_components, the line uf.union(a, b) may be chaged to uf=uf.union(a, b)
Hello,
Please omit the last issue that I submitted. Now I may have figured out the problem. In remove_small_components, the line uf.union(a, b) may be chaged to uf=uf.union(a, b)