오랜만에 BFS푸니까 이틀정도 걸림 https://www.acmicpc.net/problem/2644 package a03;import java.util.*;public class Test0321 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int people_n = sc.nextInt();//3 int people_a = sc.nextInt();//1 int people_b = sc.nextInt();//2 int relation = sc.nextInt(); int visited[] = new int[people_n + 1];..