10799 쇠막대기 java
-
boj)10799 - 쇠막대기PS/boj 2020. 9. 14. 18:56
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Stack; public class boj_10799 { static Stack s = new Stack(); static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); static int ans = 0; public static void main(String[] args) throws IOException { char[] chars = br.readLine().toCharArray(); for (int i = 0; i < c..