Ticket 14156
Problem 1700 -d
Submission 161544203
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
4
718305052 570086700 872895288 311192903
1
720429003
Expected Output
-1
Your Output
4
Difference
Generator Parameters
--n_high 4 --val_high 1000000000 --tj_high 1000000000 --q_high 1--q_low 1