Ticket 16140
Problem 1715 -d
Submission 170407892
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 5
3 3 4
1 2 15
2 1 15
1 2 15
1 3 5
Expected Output
1 14 4
Your Output
1 15 4 
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