Ticket 1416
Problem 1646 -e
Submission 148949750
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
6 1
Expected Output
6
Your Output
5
Difference
Generator Parameters
--col_cap 1000000 --col_high 9 --col_low 1 --row_cap 1000000 --row_high 9 --row_low 1