Ticket 11786
Problem 1680 -a
Submission 160041235
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
2
2 5 9 9
1 9 2 8
Expected Output
11
2
Your Output
14
2
Difference
Generator Parameters
--L_or_R_high 9 --L_or_R_low 1 --t_high 2 --t_low 1