Ticket 215
Problem 1633 -e
Submission 144946651
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
8 7
1 3 1
1 6 1
2 4 1
3 4 1
5 6 1
6 7 1
6 8 1
1 1 1 1 1
0 
Expected Output
7
Your Output

          
Difference
Generator Parameters
--a_b_cap 100000000 --a_b_high 1 --a_b_low 1 --c_cap 100000000 --c_high 1 --c_low 1 --edge_cap 300 --extra_edges_high 0 --extra_edges_low 0 --k_cap 10000000 --k_minus_p_high 0 --k_minus_p_low 0 --n_cap 50 --n_high 10 --n_low 2 --p_cap 100000 --p_high 1 --p_low 1 --w_cap 100000000 --w_high 1 --w_low 1