Ticket 3010
Problem 1629 -c
Submission 151388392
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
2
12
2 3 1 9 11 3 6 0 11 10 5 9 
9
8 8 7 6 5 8 4 2 0 
Expected Output
5
4 0 0 0 0
1
1
Your Output
1 9 4
5
4 0 0 0 0 
1 10 1
1
1 
Difference
Generator Parameters
--n_cap 200000 --n_high 20 --n_low 1 --t_cap 100 --t_high 2 --t_low 1