Ticket 11673
Problem 1681 -f
Submission 159992049
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
3 9 3
6 9 5
2 9 3
9 7 4
8 3 9
4 7 9
7 5 3
1 6 5
Expected Output
60
Your Output
47
Difference
Generator Parameters
--n_high 9 --n_low 2