Ticket 17104
Problem 1838 -d
Submission 1
View hacks & all small testcases

Unable to dry run this testcase?
Try making a new request with small values of n_high, t_high, *_high, etc.


Retry
Input
6 6
)((())
3
5
1
3
3
6
Expected Output
NO
NO
NO
NO
NO
NO
Your Output
NO
NO
YES
YES
YES
NO
Difference
Generator Parameters
--n_high 15 --n_low 2 --q_high 9 --q_low 1