Ticket 17065
Problem 1715 -d
Submission 1
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
5 2
3 1 7
2 3 15
Expected Output
0 8 7 0 0
Your Output
0 0 15 0 0 
Difference
Generator Parameters
--n_high 5 --n_low 1 --original_array_values_high 16 --original_array_values_low 0 --q_high 5 --q_low 0