Educational Codeforces Round 101 (Rated for Div. 2) A题解
Educational Codeforces Round 101 (Rated for Div. 2) A题解
题目链接
大致题解就是给你一个由 ‘(’ ,’)’ 或 ‘?’ 组成的字符串 ,’?'替换为 '(’ 或 ‘)’ ,不能改变位置。最开始以为是括号匹配,比赛时wa了五次,看了别人的回答题目,才发现没有那么麻烦(我太菜了)
题目中有这句话:“There is exactly one character ( and exactly one character ) in this sequence.
原创
2020-12-29 16:31:29 ·
1291 阅读 ·
7 评论