9012 java1 9012 괄호 import java.util.*;import java.io.*;public class Main{ public static void main (String [] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); //몇회 반복인지 받아준다 ! int N = Integer.parseInt(br.readLine()); //받은 횟수만큼 반복하면서 ~ for(int tc = 0; tc s = new Stack(); //문제의 문자열을 받아준다 ! String str = br.readLine(); .. 2023. 5. 29. 이전 1 다음