Ticket 1936
Problem 1647 -e
Submission 149414096
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
2 5 1 7 5 1 5 
11 8 14 15 1 16 12 
Expected Output
1 2 3 4 5 6 7 
Your Output
1 2 3 4 5 14 6 
Difference
Generator Parameters
--n_cap 200000 --n_high 7 --n_low 2 --simulation_cnt_high 7 --simulation_cnt_low 1