๋ฌธ์ (์ถ์ฒ: https://www.acmicpc.net/problem/28256) ๋ฌธ์ ํ์ด ์ด์ฝ๋ฆฟ์ด ์๋ ๊ณณ์์ ์ํ์ข์ฐ๋ฅผ ํ์ํ์ฌ ์ด์ฝ๋ฆฟ์ด ์ฐ๊ฒฐ๋์ด ์๋์ง ํ์ธํ๋ค. my solution (Java)import java.io.BufferedReader;import java.io.BufferedWriter;import java.io.IOException;import java.io.InputStreamReader;import java.io.OutputStreamWriter;import java.util.ArrayList;import java.util.Collections;import java.util.LinkedList;import java.util.Queue;import java.util.Strin..