摘要: Binary String Matching时间限制:3000ms | 内存限制:65535KB难度:3描述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell ho... 阅读全文
posted @ 2015-10-27 10:50 zqxLonely 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 括号配对问题时间限制:3000ms | 内存限制:65535KB难度:3描述现在,有一行括号序列,请你检查这行括号是否配对。输入第一行输入一个数N(0using namespace std;class Stack{private: int top; char s[10001];publi... 阅读全文
posted @ 2015-10-27 10:09 zqxLonely 阅读(142) 评论(0) 推荐(0) 编辑