Ticket 16061
Problem 1715 -b
Submission 169120109
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
1
1 8 0 6
Expected Output
6
Your Output
0 6
Difference
60 6
Generator Parameters