Ticket 820
Problem 1646 -c
Submission 148426235
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
8166399692
7163391699
Expected Output
13
13
Your Output
15
13
Difference
Generator Parameters
--n_cap 1000000000000 --n_high 10000000000 --n_low 1 --t_cap 100 --t_high 2 --t_low 1