Ticket 2544
Problem 1656 -d
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
8
55645
55071
18907
96270
90438
87269
15604
78769
Expected Output
2
2
2
4
4
2
8
2
Generator Parameters
--n_cap 1000000000000000000 --n_high 99999 --n_low 2 --t_cap 100000 --t_high 10 --t_low 1