문제 - N개의 도시, M개의 간선, 시작도시 C가 주어진다. - X, Y, Z로 간선 정보(X -> Y, Z는 무게)가 주어진다. - 시작도시 C에서 갈 수 있는 모든 도시의 개수와 최대 걸리는 시간 해설 및 코드 import java.util.Arrays; import java.util.Scanner; public class 전보 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int C = sc.nextInt(); int[][] arr = new int[N+1][N+1]; int[] D = new int[N+1]; Arrays...