Ticket 12862
Problem 1695 -a
Submission 161119911
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
1 3
-17 -4 -9 
4 2
-7 0 
-30 -13 
26 21 
-8 -27 
Expected Output
2
6
Your Output
3
6
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