Ticket 1126
Problem 1648 -b
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
8 52
19 44 33 31 18 24 35 1 
1 85
1 
5 57
11 5 23 34 1 
2 24
12 1 
9 95
76 6 74 75 81 90 23 1 30 
3 89
60 7 59 
1 16
3 
5 41
16 32 41 8 16 
6 68
53 68 22 44 24 1 
Expected Output
No
Yes
No
Yes
No
No
No
No
No
Generator Parameters
--c_cap 1000000 --c_high 99 --c_low 1 --n_cap 1000000 --n_high 9 --n_low 1 --t_cap 10000 --t_high 9 --t_low 1