Ticket 8817
Problem 1686 -d
Submission 158911147
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
2
0 0 1 1
BABA
0 0 1 2
ABABAB
Expected Output
NO
NO
Your Output
YES
YES
Difference
Generator Parameters
--a_high 0 --a_low 0 --answer_exist 0 --b_high 0 --b_low 0 --c_high 3 --c_low 0 --d_high 3 --d_low 0 --t_high 2 --t_low 1