Ticket 17496
Problem 2003 -d2
Submission 278147838
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
6 8
1 0 
4 3 3 0 2 
2 1 0 
2 1 0 
1 0 
2 1 0 
Expected Output
46
Your Output
45
Difference
Generator Parameters
--m_high 20 --m_low 0 --sum_l_high 20 --sum_l_low 1 --t_high 1 --t_low 1