Ticket 12876
Problem 1695 -a
Submission 161122718
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 2
12 18 
1 1
-5 
Expected Output
2
1
Your Output
2
2
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