Ticket 16606
Problem 1201 -d
Submission 186737837
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 4 5 2
1 1
1 2
1 3
2 2
2 3
2 4 
Expected Output
5
Your Output
6
Difference
Generator Parameters
--col_high 4 --col_low 4 --row_high 2 --row_low 2