Ticket 17158
Problem 1901 -d
Submission 234114731
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
4
2 4 2 1 
Expected Output
5
Your Output
4
Difference
Generator Parameters
--n_high 4 --n_low 4 --val_high 5 --val_low 1