Ticket 378
Problem 1637 -e
Submission 146260615
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
5
3 2
4 7 6 
4 7
6 7
9 2
3 4 4 9 9 7 8 9 6 
3 6
3 7
8 1
6 3 2 8 8 1 3 7 
1 8
4 0
7 4 4 4 
6 5
1 7 9 1 7 3 
1 7
3 7
3 9
1 3
7 9
Expected Output
20
68
45
44
30
Your Output
20
68
45
44
0
Difference
Generator Parameters
--choose_dynamic_m 0 --m_cap 6 --m_high 10 --m_low 0 --n_cap 6 --n_high 10 --n_low 2 --t_cap 5 --t_high 5 --t_low 1 --val_cap 100 --val_high 9 --val_low 1