package com._2021._02; import java.util.*; /** * @author Jiang锋时刻 * @create 2021-08-09 15:54 */ public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); UnionFind uf = new Uni...