Ticket 16468
Problem 1759 -g
Submission 182383390
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
2
8
7 5 4 5 
8
2 7 4 1 
Expected Output
-1
-1
Your Output
6 7 1 5 2 4 3 5 
-1
Difference
Generator Parameters
--half_n_high 7 --half_n_low 1 --t_high 2 --t_low 1