摘要: 题目链接:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=83498#problem/A题意:多组案例,输入由'('、')'、'['和']'组成的括号序列,判断是否合法(构成平衡)。合法条件如下: 1)空字符串合法。 2)如果A... 阅读全文
posted @ 2015-07-24 21:32 ~瞬间* 阅读(973) 评论(0) 推荐(0) 编辑