Ticket 15073
Problem 1695 -a
Submission 162387730
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
2
2 4
26 -16 -3 28 
3 -24 -30 2 
4 4
0 -14 8 9 
17 -26 20 30 
21 5 -24 -19 
-7 -13 14 -4 
Expected Output
8
12
Your Output
6
9
Difference
Generator Parameters
--row_or_col_high 5 --row_or_col_low 1 --t_high 2 --t_low 1 --val_high 30 --val_low -30