Ticket 16672
Problem 1779 -d
Submission 188025603
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
2 2 1 
1 2 1 
1
2 
Expected Output
NO
Your Output
YES
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