Ticket 13985
Problem 1646 -d
Submission 161466352
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
65
46 57
48 30
12 60
24 11
26 43
64 21
48 7
16 7
43 29
1 48
59 43
49 50
59 34
62 8
9 32
43 32
44 11
51 11
54 39
28 63
23 11
19 49
51 17
39 41
3 28
25 11
41 6
57 22
10 15
6 64
57 8
38 12
42 11
50 18
11 49
13 19
6 37
18 31
56 23
50 33
13 12
25 14
40 18
2 37
62 35
49 6
43 58
43 6
47 62
5 65
59 52
3 36
63 13
39 55
7 49
15 53
15 21
11 4
56 45
61 20
27 41
8 40
42 61
40 5
Expected Output
39 76
1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 2 1 2 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 
Your Output
39 77
1 1 1 1 1 5 1 3 1 1 1 1 3 1 1 1 1 1 1 1 2 1 2 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 
Difference
Generator Parameters
--n_high 100 --n_low 2