백준 문제 풀이 (1) 썸네일형 리스트형 [Java] 백준 알고리즘 4949번 문제 : 균형잡힌 세상 (문자열, String) --- 문제 --- --- 코드 --- import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Bj4949 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); String s; s = br.readLine(); while(!s.equals(".")) { String res = "yes"; char[] stack =.. 이전 1 다음