시간&메모리 제한 문제 입력&출력 문제풀이 package com.Back; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Back_2257 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String chem = br.readLine(); int stack[] = new int[100]; int tmp = 0; int cnt = 0; for (int i = 0; i < c..