import java.util.ArrayList;import java.util.Scanner;public class BJ2606 { static boolean[] visited; //방문 체크 배열. static ArrayList[] graph; //DFS 표현할 그래프 배열. public static void main(String[] args) { Scanner sc = new Scanner(System.in); int computer_num = sc.nextInt(); //컴퓨터 수 int num = sc.nextInt(); //컴퓨터 연결 쌍의 수 int count =0; // 바이러스 걸리는 횟수 //컴퓨터수는 100이..