Ticket 15304
Problem 1679 -a
Submission 162583712
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
10
399692
391699
654054
482309
41263
135029
147878
29623
447576
274564
Expected Output
66616 99923
-1
109009 163513
-1
-1
-1
24647 36969
-1
74596 111894
45761 68641
Your Output
66616 99923
-1
109009 163513
-1
-1
-1
24647 36969
-1
74596 111894
45762 68641
Difference
Generator Parameters
--n_high 1000000 --n_low 1 --t_high 10 --t_low 10