Ticket 15636
Problem 1701 -f
Submission 163684962
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 6
8 8 6 8 5 2 5 3 
Expected Output
0
0
0
0
1
4
1
4
Your Output
0
0
-1
-1
0
3
0
2
Difference
Generator Parameters
--d_high 9 --d_low 1 --q_high 9 --q_low 1 --val_high 9 --val_low 1