백준 10828 c++ 백준: 스택 난이도: 실버4 #include #include #include #include #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); stack s;//스택선언 string str; int n; cin >> n;//명령의수 for (int i = 0; i = 48 && str[j] Programming/Baekjoon 2022.01.19