Ticket 4791
Problem 1661 -c
Submission 153444954
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
8
2
9 1 
1
7 
5
8 8 6 6 9 
3
4 3 2 
9
4 4 9 3 6 1 8 2 2 
6
3 5 7 5 5 8 
6
3 1 8 7 6 4 
4
9 3 6 3 
Expected Output
6
0
7
2
28
10
13
10
Your Output
6
0
6
2
28
10
13
10
Difference
Generator Parameters
--h_high 9 --h_low 1 --n_high 9 --n_low 1 --t_high 10 --t_low 1