Ticket 12982
Problem 1695 -d1
Submission 161153260
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
2
32
6 24
30 9
18 19
7 20
26 6
16 8
22 8
4 29
3 20
4 17
31 20
2 19
12 11
6 15
6 12
12 18
9 19
32 12
10 8
16 5
12 1
14 27
21 16
3 14
9 4
28 21
18 23
5 19
14 13
3 5
26 25
21
16 12
3 18
17 11
19 8
2 12
3 12
19 7
10 3
2 9
14 20
13 12
11 16
21 15
6 3
2 1
20 8
3 5
20 3
21 18
21 4
Expected Output
8
6
Your Output
9
6
Difference
Generator Parameters
--n_high 100 --n_low 1 --t_high 2 --t_low 1