[백준] 10813번: 공 바꾸기 - JAVA
·
알고리즘
[작성일: 2023. 08. 24] https://www.acmicpc.net/problem/10813 풀이 import java.io.*;import java.util.StringTokenizer;public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); StringTokenizer st = new StringT..