Ticket 6175
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
2 41
5 2 
6 67
10 25 27 28 27 1 
4 68
43 32 22 67 
1 53
42 
6 98
66 31 32 41 60 19 
7 91
53 52 28 63 62 74 1 
6 59
50 37 9 30 15 1 
5 58
15 53 29 12 1 
4 22
16 3 1 1 
Expected Output
No
No
No
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