Ticket 8364
Problem 1646 -d
Submission 158675199
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
10
2 3
4 9
7 6
4 8
3 1
8 6
10 1
5 3
8 2
Expected Output
5 11
1 2 1 1 1 1 1 1 1 1 
Your Output
5 12
1 1 1 1 1 1 1 3 1 1 
Difference
Generator Parameters
--n_high 10 --n_low 10