Ticket 15992
Problem 1716 -c
Submission 167059425
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
0 3 3 
0 1 0 
Expected Output
5
Your Output
6
Difference
Generator Parameters
--m_high 3 --m_low 3 --t_high 1 --t_low 1 --val_high 3 --val_low 0