Ticket 13364
Problem 1635 -c
Submission 161269612
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
7
-3 5 5 7 0 5 8 
4
3 3 -5 0 
Expected Output
5
5 6 7
4 5 7
3 4 7
2 3 7
1 2 7
2
2 3 4
1 2 4
Your Output
5
1 6 7
2 6 7
3 6 7
4 6 7
5 6 7
-1
Difference
Generator Parameters
--n_high 8 --n_low 3 --t_high 2 --t_low 1 --val_high 9 --val_low -9