Ticket 3647
Problem 1648 -d
Submission 152926861
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
4 1
0 -1 -1 -3 
2 1 3 -2 
1 -2 2 -1 
2 3 9
Expected Output
-5
Your Output
-7
Difference
Generator Parameters
--k_high 9 --k_low 1 --n_high 4 --n_low 1 --q_high 4 --q_low 1 --val_high 3 --val_low -3