백준[JAVA] 9012.괄호- 자바


백준[JAVA] 9012.괄호- 자바

문제 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Stack; public class Main { public static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); public static void main(String[] args) throws IOException { StringBuilder sb = new StringBuilder(); int N = Integer.parseInt(br.readLine()); while (N > 0) { sb.app..


원문링크 : 백준[JAVA] 9012.괄호- 자바