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