๋ฌธ์ (์ถ์ฒ: https://www.acmicpc.net/problem/8598) ๋ฌธ์ ํ์ด bfs๋ฅผ ์ฌ์ฉํ์ฌ ์ด๋ ํ์๋ฅผ ๊ตฌํ๋ค. my solution (Java)import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.LinkedList;import java.util.Queue;import java.util.StringTokenizer;public class _8598_ { // Zajฤ c static int dx[] = { 1, 1, -1, -1, 2, 2, -2, -2 }; static int dy[] = { 2, -2, 2, -2, 1, -1, 1, -1 }; ..