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