Ticket 931
Problem 1649 -d
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
9
9 64
55 40 39 23 38 55 42 53 43 
9 40
38 18 21 12 11 28 39 17 37 
9 9
7 3 8 6 1 4 7 9 1 
9 53
37 46 6 14 28 46 15 10 9 
9 97
92 21 67 50 15 20 72 66 19 
9 34
12 24 33 16 2 7 6 14 18 
9 37
30 6 22 15 28 15 22 14 1 
9 44
25 23 18 3 2 29 25 43 2 
9 20
18 2 7 20 14 13 18 9 2 
Expected Output
No
No
No
No
No
No
No
No
No
Generator Parameters
--c_cap 1000000 --c_high 99 --c_low 1 --n_cap 1000000 --n_high 9 --n_low 9 --t_cap 10000 --t_high 9 --t_low 9