Ticket 11591
Problem 1688 -f
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
1
27 29
19 200 23 170 26 185 117 149 135 165 145 111 108 166 106 19 178 176 104 50 157 197 44 157 14 50 190 
196 103 144 117 137 194 124 179 198 75 111 198 83 129 150 33 144 89 163 192 90 131 146 88 69 171 85 
18 26
4 21
2 8
18 20
4 23
2 11
4 17
4 18
1 5
22 27
1 6
3 27
16 22
7 12
1 18
9 13
20 26
9 23
9 12
1 14
5 10
10 23
16 21
21 27
3 14
21 26
5 24
19 22
8 26
Expected Output
NO
Generator Parameters
--m_high 30 --m_low 20 --n_high 30 --n_low 20 --t_high 1 --t_low 1 --val_high 200 --val_low 1