https://www.acmicpc.net/problem/4963 import java.io.IOException;import java.util.LinkedList;import java.util.Queue;import java.util.Scanner;public class Baekjoon_4963_섬의개수_BFS { static int w, h; static int[][] map; static boolean[][] visit; static int[] dx = { 1, -1, 0, 0, -1, -1, 1, 1 }; static int[] dy = { 0, 0, -1, 1, 1, -1, 1, -1 }; public static void main(String[] args) throws IOException {..