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