Ticket 17317
Problem 1918 -c
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
2
11 2 5
4 14 4
Expected Output
7
6
Your Output
9
10
Difference
Generator Parameters
--a_high 15 --a_low 0 --t_high 2 --t_low 1