Ticket 12341
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
7
6 66
22 31 32 32 20 1 
8 36
16 6 17 6 13 23 7 1 
9 71
23 30 52 45 27 42 33 58 31 
7 9
7 8 2 9 5 6 1 
2 62
50 9 
9 65
17 38 51 36 27 54 58 24 1 
7 21
20 20 15 9 10 20 1 
Expected Output
Yes
No
No
No
No
No
No
Generator Parameters
--c_high 99 --c_low 1 --n_high 9 --n_low 1 --t_high 9 --t_low 1