Messy
https://codeforces.com/problemset/problem/1227/CInput Format
.Output Format
.Question Video
.Sample Input
4Sample Output
8 2
()(())()
10 3
))()()()((
2 1
()
2 1
)(
4
3 4
1 1
5 8
2 2
3
4 10
1 4
6 7
0
1
1 2
-
Asked in Companies
-
Related Topics
Video Solution
Code Solution
{ }
{ }
Run