Ticket 12802
Problem 1691 -f
Submission 161020061
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
4 1
4 2
4 1
3 1
Expected Output
36
Your Output
38
Difference
Generator Parameters
--n_high 4 --n_low 3