Ticket 16084
Problem 1715 -d
Submission 169472486
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
8 7
1 3 11
6 1 13
2 5 15
2 2 12
6 8 4
7 1 9
3 8 3
Expected Output
9 12 3 0 3 4 0 0
Your Output
0 12 3 0 3 4 9 0 
Difference
Generator Parameters
--n_high 9 --n_low 1 --original_array_values_high 16 --original_array_values_low 0 --q_high 9 --q_low 0