Ticket 16161
Problem 1715 -d
Submission 170982810
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
2 1 13
1 3 5
3 4 12
Expected Output
1 12 4 8 0
Your Output
1 13 4 8 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