Ticket 6076
Problem 1646 -d
Submission 155183040
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
18
4 13
3 1
16 12
9 13
3 17
18 7
9 17
12 8
17 14
10 2
12 18
8 6
8 9
10 17
11 10
14 5
12 15
Expected Output
10 20
1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 
Your Output
10 21
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 
Difference
Generator Parameters
--n_high 20 --n_low 15