Ticket 16021
Problem 1716 -c
Submission 167962431
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
7
0 3 6 8 3 1 6 
0 2 5 2 4 4 3 
Expected Output
16
Your Output
15
Difference
Generator Parameters
--m_high 9 --m_low 2 --t_high 1 --t_low 1 --val_high 9 --val_low 0