https://www.acmicpc.net/problem/9012 제출 코드#include #include using namespace std;int main(){ ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); int n; cin >> n; for (int i = 0; i ps; string str; cin >> str; for (int j = 0; j vps가 될 수 없는 조건은1. 앞에 ' ( ' 기호가 없는데 ' ) ' 기호가 나오는 경우2. 마지막 문자까지 확인했는데 짝지어지지 않은 괄호 기호가 남아있는 경우이므로 이번 순서의 괄호 기호가 ' ( '인 경우 그냥 push해주고,..