boj 4949
-
boj)4949 - 균형잡힌 세상PS/boj 2020. 10. 13. 17:49
import java.io.*; import java.util.*; public class boj_4949 { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); static StringBuilder sb = new StringBuilder(); public static void main(String[] args) throws IOException { while (true) { String input = br.readLine(); if (input.equals(".")) { break; } sb.append(solve(input) ? "yes" : "no").append("\n"); } System.out.pri..