Ticket 17318
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
7 4 2
1 7 3
Expected Output
1
2
Your Output
3
6
Difference
Generator Parameters
--a_high 7 --a_low 0 --t_high 2 --t_low 1