问题很简单你只需要回答给定的字符串(只含有小括号)是否合法
如果合法输出"YES",否则输出"NO"(不含括号)
5
((((((()))))))
()()()()())(()((
()(()((()()())())()
((())()()()())())
()()()()()(())
YES
NO
NO
NO
YES
Anything about this OnlineJudge, Please Contact Administrator. Click add QQ
OJ system based on HUSTOJ Project , UI based on Twitter Bootstrap
Copyright 2016 ACM算法攻关部cnt: 52108
关于网站改版