Ticket 2642
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
8
1 76
8 
9 30
15 19 6 4 3 25 6 19 1 
3 51
14 39 1 
6 98
32 89 31 62 1 1 
1 23
2 
4 89
52 84 52 25 
5 99
80 17 58 67 39 
8 21
19 21 9 17 6 19 4 1 
Expected Output
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 1 --t_cap 10000 --t_high 9 --t_low 1