Ticket 3975
Problem 1665 -e
Submission 153104537
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
1
4
1008232918 841329772 231635627 1011987964 
2
2 3
1 4
Expected Output
1072692975
1012530686
Your Output
1072692975
1037990911
Difference
Generator Parameters
--n_high 5 --n_low 2 --q_high 5 --q_low 1 --t_high 1 --t_low 1 --val_high 1073741823 --val_low 0