Ticket 16967
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
17 13
16 17
13 11
10 2
6 8
15 2
10 4
7 1
2 14
16 3
14 3
8 9
1 14
5 6
2 8
3 13
14 12
2 17 14 
6 6 10 2 13 4 15 
Expected Output
26
Your Output
28
Difference
Generator Parameters
--n_high 20 --n_low 2