Ticket 16790
Problem 1810 -e
Submission 200117098
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
4 3
2 2 1 0 
1 2
2 4
3 4
Expected Output
YES
Your Output
NO
Difference
Generator Parameters
--choose_edges_dynamically 0 --m_high 3 --m_low 1 --n_high 4 --n_low 4 --t_high 2 --t_low 1