Ticket 15406
Problem 1679 -d
Submission 162709711
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
4 10 2499178902396445
894255 6057170 5134415 4387016 
1 3
1 4
2 1
2 4
3 1
3 2
3 4
4 1
4 2
4 3
Expected Output
4387016
Your Output
-1
Difference
Generator Parameters
--dynamic_edges 0 --edges_high 20000 --edges_low 0 --k_high 10000000000000000 --k_low 1 --n_high 9 --n_low 1 --val_high 10000000 --val_low 1