Ticket 2614
Problem 1656 -d
Submission 150798264
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
50307
9896
55893
61746
72436
73604
32703
44610
Expected Output
2
16
2
4
8
8
2
4
Your Output
2
-1
2
-1
-1
-1
2
-1
Difference
Generator Parameters
--n_cap 1000000000000000000 --n_high 99999 --n_low 2 --t_cap 100000 --t_high 10 --t_low 1