Ticket 17039
Problem 1817 -b
Submission 1
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
9 10
1 2
1 3
1 5
1 7
4 5
4 9
5 9
6 9
7 8
8 9
Expected Output
YES
7
1 7
7 8
8 9
9 5
5 1
1 2
1 3
Your Output
YES
7
1 5
5 1
4 5
9 4
5 9
1 2
1 3
Difference
Generator Parameters
--choose_edges_dynamically 0 --extra_edges_high 10 --extra_edges_low 0 --n_high 9 --n_low 2 --t_high 1 --t_low 1