Ticket 469
Problem 1635 -e
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
8 12
2 1 2
1 1 3
2 1 5
1 2 3
2 2 8
1 3 5
1 3 6
2 3 8
2 4 6
2 4 7
1 5 7
2 6 8
Expected Output
NO
Generator Parameters
--choose_m_dynamically 0 --m_cap 200000 --m_high 20 --m_low 1 --n_cap 200000 --n_high 9 --n_low 2