Redirecting to
NADOS

Messy

.

https://codeforces.com/problemset/problem/1227/C
Input Format
.
Output Format
.
Question Video
Constraints
.
Sample Input
4
8 2
()(())()
10 3
))()()()((
2 1
()
2 1
)(
Sample Output
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
 
Run
Id Name