Ticket 16357
Problem 1743 -e
Submission 176770078
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
2 2
3 3
5 1
Expected Output
4
Your Output
5
Difference
Generator Parameters
--h_high 5 --h_low 1 --p_high 5 --p_low 2 --t_high 5 --t_low 1