Ticket 16662
Problem 1779 -d
Submission 187839619
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
3
1 2 2 
1 2 2 
1
2 
Expected Output
YES
Your Output
NO
Difference
Generator Parameters
--ai_high 2 --ai_low 1 --bi_high 2 --bi_low 1 --m_high 2 --m_low 1 --n_high 3 --n_low 3 --t_high 1 --t_low 1 --xi_high 2 --xi_low 1