Ticket 17492
Problem 2001 -d
Submission 277865632
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
10
14
14 7 2 5 3 2 4 7 5 13 3 12 2 12 
10
3 4 3 7 2 2 5 2 9 6 
14
2 4 12 4 6 13 5 7 14 5 5 8 12 13 
14
10 10 2 14 6 1 7 11 1 7 2 11 12 9 
11
2 6 5 9 1 10 5 3 11 6 10 
1
1 
11
10 3 3 5 1 10 5 7 9 4 5 
6
3 5 5 3 2 5 
4
2 1 3 3 
2
1 1 
Expected Output
8
14 2 5 3 4 7 13 12
7
4 3 7 2 5 9 6
9
2 4 12 6 13 5 7 14 8
9
10 2 14 6 11 1 7 12 9
8
2 5 9 1 10 3 11 6
1
1
7
10 3 5 1 7 9 4
3
5 3 2
3
2 1 3
1
1
Your Output
8
14 2 5 4 7 13 3 12 
7
4 3 7 2 5 9 6 
9
2 4 12 6 13 5 7 14 8 
9
10 2 14 6 11 1 7 12 9 
8
2 5 9 1 10 3 11 6 
1
1 
7
10 3 5 1 7 9 4 
3
5 3 2 
3
2 1 3 
1
1 
Difference
Generator Parameters
--n_high 20 --n_low 1 --t_high 10 --t_low 10