Ticket 7510
Problem 1679 -d
Submission 158378048
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
7 5 4
7 9 1 9 9 7 2 
1 5
2 7
7 1
7 3
7 4
Expected Output
9
Your Output
-1
Difference
Generator Parameters
--dynamic_edges 0 --edges_high 10 --edges_low 0 --k_high 9 --k_low 1 --n_high 9 --n_low 1 --val_high 9 --val_low 1