随笔分类 -  ACM_杨婷婷

摘要:find()函数可以帮助你在两个字符串之间,查找很多他们的关系。。。#include#includeusing namespace std;int main(){ string s,s2; int n; cin>>n; while(n--) { cin>>s>>s2; string fla... 阅读全文
posted @ 2014-10-10 18:48 NYNU_ACM 阅读(937) 评论(0) 推荐(0)
摘要:描述现在,有一行括号序列,请你检查这行括号是否配对。输入第一行输入一个数N(0#include#include#include#includeusing namespace std;struct sStack{ char sign[10010]; int top;};void initstack(s... 阅读全文
posted @ 2014-10-09 21:18 NYNU_ACM 阅读(185) 评论(0) 推荐(0)