Ticket 16969
Problem 1774 -e
Submission 1
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
11 2
8 2
11 9
4 7
5 11
8 1
10 4
2 3
11 6
7 1
11 1
8 10 2 9 8 11 6 7 5 
4 1 6 8 3 
Expected Output
30
Your Output
28
Difference
Generator Parameters
--n_high 50 --n_low 2