9012번
-
boj)9012 - 괄호PS/boj 2020. 9. 13. 19:15
import java.io.*; public class boj_9012 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); int T = Integer.parseInt(br.readLine()); for (int i = 0; i < T; i++) { String str = br.readLine(); int temp = 0; for (int j = 0; j < str.length();..