Ticket 16035
Problem 1712 -d
Submission 168298911
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
1
3 2
1 5 4
Expected Output
8
Your Output
5
Difference
Generator Parameters
--t_high 1 --n_low 3 --n_high 3