Ticket 9595
Problem 1691 -f
Submission 159142512
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
9 6
9 1
5 9
6 8
9 3
4 8
5 7
6 5
9 2
Expected Output
6638
Your Output
4622
Difference
Generator Parameters
--n_high 9 --n_low 3