Ticket 751
Problem 1646 -d
Submission 148362213
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
20
10 16
14 11
7 16
20 11
15 2
3 7
20 4
18 19
6 15
17 14
1 7
16 12
9 20
11 19
16 13
1 2
8 5
5 10
19 2
Expected Output
12 24
2 1 1 1 1 1 1 1 1 2 3 1 1 1 1 1 1 1 1 1 
Your Output
12 25
1 3 1 1 1 1 1 1 1 2 3 1 1 1 1 1 1 1 1 1 
Difference
Generator Parameters
--n_cap 200000 --n_high 20 --n_low 20