Ticket 8335
Problem 1685 -b
Submission 158664151
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
1
8 9 9 2
AABABBBBAABBBBABBABABAAABAAABABBAAAABBB
Expected Output
YES
Your Output
NO
Difference
Generator Parameters
--a_high 10 --a_low 1 --answer_exist 0 --b_high 10 --b_low 0 --c_high 10 --c_low 0 --d_high 10 --d_low 0 --t_high 1 --t_low 1