Ticket 15896
Problem 1709 -e
Submission 165223776
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
6
8 2 5 3 8 3 
6 3
5 4
3 4
4 1
2 5
Expected Output
0
Your Output
1
Difference
Generator Parameters
--n_high 6 --n_low 1 --val_high 8 --val_low 1