Ticket 17270
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
12
20 -11 -6 -2 -16 5 18 1 -2 15 16 -1 
Expected Output
22
2 1
3 1
4 1
5 1
6 1
7 1
8 1
9 1
10 1
11 1
12 1
2 1
3 2
4 3
5 4
6 5
7 6
8 7
9 8
10 9
11 10
12 11
Your Output
29
12 12
12 12
12 12
12 12
12 12
1 12
1 12
12 1
1 1
11 1
1 1
10 1
1 1
9 1
1 1
8 1
1 1
7 1
1 1
6 1
1 1
5 1
1 1
4 1
1 1
3 1
1 1
2 1
1 1
Difference
Generator Parameters
--n_high 20 --n_low 1 --t_high 1 --t_low 1 --val_high 20 --val_low -20