boj)2504 - 괄호의 값
import java.io.*; import java.util.*; public class boj_2504 { public static void main(String[] args) throws IOException { Scanner sc = new Scanner(System.in); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); String str = sc.nextLine(); Stack stack = new Stack(); int roundBracket = 0; int squareBracket = 0; for (int i = 0; i < str.length(); i++) { String s = str.substri..
2020.10.14