Ticket 17495
Problem 2003 -d2
Submission 278173974
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 9
5 2 0 4 3 3 
1 0 
3 1 1 0 
Expected Output
60
Your Output
51
Difference
Generator Parameters
--m_high 9 --m_low 0 --sum_l_high 9 --sum_l_low 1 --t_high 1 --t_low 1