Ticket 7797
Problem 1686 -d
Submission 158511238
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
4
6 9 8 9
ABBBBBAABBAABBBABBAAAAABAABBBBBAAABBBBABBABBBBABA
7 2 10 10
AABAAABBABBBABBBAAAABAAAABAAAABABBABBAAAABBABABAA
3 3 2 5
ABABBABBBAABAAABABAB
2 9 4 7
ABABBAAAAABBAAAAABBBAABAABBAAAAAA
Expected Output
NO
NO
YES
NO
Your Output
NO
NO
NO
NO
Difference
Generator Parameters
--a_high 10 --a_low 0 --answer_exist 0 --b_high 10 --b_low 0 --c_high 10 --c_low 0 --d_high 10 --d_low 0 --t_high 10 --t_low 1