Ticket 17332
Problem 1927 -f
Submission 245231438
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
6 6
2 4 2
2 6 2
3 4 2
3 6 2
4 5 1
4 6 1
Expected Output
1 3
6 3 4
Your Output

          
Difference
Generator Parameters
--choose_edges_dynamically 1 --extra_edges_high 10 --extra_edges_low 0 --n_high 6 --n_low 6 --t_high 1 --t_low 1 --w_high 2 --w_low 1