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