Ticket 7256
Problem 1679 -d
Submission 157354197
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 47 142564467163391699
117581891 235137463 467135092 232710620 721745564 262510465 451513607 297510869 
1 2
1 3
1 4
1 5
1 6
1 7
2 1
2 3
2 4
2 5
2 6
2 7
2 8
3 1
3 2
3 4
3 5
3 6
4 3
4 5
4 6
4 7
4 8
5 1
5 2
5 3
5 4
5 6
5 7
5 8
6 1
6 2
6 3
6 4
6 5
6 7
6 8
7 1
7 2
7 4
7 5
7 6
7 8
8 1
8 2
8 3
8 4
Expected Output
235137463
Your Output
-1
Difference
Generator Parameters
--dynamic_edges 0 --edges_high 200000 --edges_low 0 --k_high 1000000000000000000 --k_low 1 --n_high 10 --n_low 1 --val_high 1000000000 --val_low 1