Ticket 12565
Problem 1694 -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
9 14
1 7
7 2
2 8
8 4
4 6
6 9
8 9
6 3
4 6
4 6
9 4
3 1
7 5
3 1
Expected Output
6
Generator Parameters
--edges_high 15 --edges_low 1 --n_high 9 --n_low 2