Ticket 16458
Problem 1741 -g
Submission 181787382
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
3
3 3
1 2 
1 3 
2 3 
3
3 2 3 
1
1 
3 3
1 2 
1 3 
2 3 
5
2 2 2 3 3 
1
5 
3 3
1 2 
1 3 
2 3 
5
3 3 3 2 3 
1
4 
Expected Output
0
0
1
Your Output
0
0
0
Difference
Generator Parameters
--c_high 5 --c_low 1 --choose_edges_dynamically 0 --extra_edges_high 5 --extra_edges_low 0 --f_high 5 --f_low 1 --k_high 3 --k_low 1 --n_high 3 --n_low 3 --t_high 3 --t_low 3