Ticket 10488
Problem 1691 -f
Submission 159496081
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
52 16
17 36
23 18
46 17
52 1
12 35
7 12
16 26
5 19
42 17
32 3
35 47
32 43
2 13
29 8
8 32
41 10
5 31
15 18
43 5
51 38
9 25
15 17
25 34
27 18
27 6
50 23
19 22
23 35
37 23
44 41
10 31
23 30
25 45
2 15
52 49
4 18
39 19
34 20
23 34
30 28
19 15
22 52
14 52
1 40
15 38
33 43
16 22
52 48
11 50
21 52
39 24
Expected Output
578191179
Your Output

          
Difference
Generator Parameters
--n_high 100 --n_low 3