摘要:
http://poj.org/problem?id=1068#include<iostream>#include<string>#include<stack>using namespace std;int main(void){ int n,m,k,p,leftpa; stack<int>s; string::iterator it; cin>>n; while(n--) { leftpa=0; cin>>m; string str; while(m--) { c... 阅读全文