Ticket 7645
Problem 1686 -d
Submission 158470845
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
5
4 5 5 3
AABABBBAABBAABBAAABBAAABA
4 1 4 7
BAABBBAAABAABBABABABAAABAAA
3 1 5 4
AABABBABABABAABBBAAABA
2 5 4 6
ABBAABAABAABBABBAAAAABBAAAA
3 2 5 5
AABBAAAAAAABABABAAABBABBB
Expected Output
NO
NO
NO
NO
NO
Your Output
NO
NO
YES
NO
NO
Difference
Generator Parameters
--a_high 5 --a_low 1 --answer_exist 0 --b_high 5 --b_low 0 --c_high 5 --c_low 4 --d_high 7 --d_low 2 --t_high 7 --t_low 2