Ticket 13549
Problem 1695 -d1
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
26
17 12
22 17
18 17
15 8
8 14
15 2
17 24
7 2
13 11
1 11
10 26
20 17
1 23
12 7
23 5
21 13
1 6
26 6
22 9
19 9
9 3
11 4
23 25
12 16
1 12
Expected Output
6
Generator Parameters
--n_high 100 --n_low 1 --t_high 1 --t_low 1