Ticket 16375
Problem 1710 -e
Submission 178249283
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 7
9 7 8 3 
6 7 1 9 8 9 9 
Expected Output
14
Your Output
15
Difference
Generator Parameters
--row_or_col_high 9 --row_or_col_low 1 --val_high 9 --val_low 1