Ticket 1245
Problem 1648 -a
Submission 148711514
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
4 1 7 8 8 
3 2 8 4 2 
3 9 6 6 5 
7 9 1 9 9 
7 2 4 2 7 
Expected Output
90
Your Output
61
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