Ticket 6329
Problem 1674 -e
Submission 155693212
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
3
8 5 7 
Expected Output
4
Your Output
5
Difference
Generator Parameters
--n_high 3 --n_low 2 --val_high 9 --val_low 1