Ticket 16582
Problem 1763 -d
Submission 186086449
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
9 6 8 5 2
4 3 4 1 3
Expected Output
16
0
Your Output
0
0
Difference
Generator Parameters
--n_high 9 --n_low 3 --t_high 2 --t_low 1