Ticket 17265
Problem 1855 -c1
Submission 1
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
1
5
-1 0 1 -9 0 
Expected Output
8
1 4
2 4
3 4
5 4
4 5
3 4
2 3
1 2
Your Output
13
5 5
5 5
5 5
5 5
5 5
1 5
5 5
2 5
5 5
3 5
5 5
4 5
5 5
Difference
Generator Parameters
--n_high 9 --n_low 1 --t_high 1 --t_low 1 --val_high 9 --val_low -9