Ticket 924
Problem 1649 -b
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
10
8
7 3 2 7 8 4 5 6 
5
1 2 9 5 6 
7
0 5 2 9 5 5 7 
9
3 7 7 4 1 8 7 1 0 
7
6 6 2 0 5 3 9 
7
8 8 0 4 2 7 7 
6
3 3 9 0 3 5 
7
6 5 1 6 6 5 3 
3
8 2 7 
9
3 0 1 0 7 3 5 8 8 
Expected Output
1
1
1
1
1
1
1
1
1
1
Generator Parameters
--n_cap 200000 --n_high 9 --n_low 2 --t_cap 50000 --t_high 10 --t_low 10 --val_cap 1000000000 --val_high 9 --val_low 0