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