Ticket 1434
Problem 1646 -e
Submission 148953149
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
30 2
Expected Output
55
Your Output
56
Difference
Generator Parameters
--col_cap 1000000 --col_high 9 --col_low 1 --row_cap 1000000 --row_high 100 --row_low 1