Ticket 15272
Problem 1679 -d
Submission 162538041
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 20 888001887344721186
6 7 3 3 3 3 5 2 
1 3
1 4
1 6
1 7
1 8
2 3
2 4
3 1
3 5
3 6
3 7
4 2
4 3
4 6
4 8
5 3
6 8
7 2
7 3
7 5
Expected Output
3
Your Output
6
Difference
Generator Parameters
--dynamic_edges 0 --edges_high 20 --edges_low 0 --k_high 989451008964122129 --k_low 1 --n_high 9 --n_low 1 --val_high 9 --val_low 1