Ticket 1368
Problem 1649 -c
Submission 148796439
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
5 5
1 1 4 4 8 
6 3 7 6 7 
9 2 9 4 4 
2 8 4 2 8 
7 7 8 6 8 
Expected Output
108
Your Output
117
Difference
Generator Parameters
--col_cap 100 --col_high 5 --col_low 1 --row_cap 100 --row_high 5 --row_low 1 --val_cap 100000 --val_high 9 --val_low 1