Ticket 16825
Problem 1805 -d
Submission 201826735
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
7
4 1
3 4
2 1
5 6
6 3
3 7
Expected Output
1 1 1 3 6 7 7 
Your Output
1 1 2 5 7 7 7 
Difference
Generator Parameters
--n_high 9 --n_low 2