Ticket 16856
Problem 1832 -b
Submission 205823199
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
7 3
325204843 564629442 975878478 800110409 303370071 962696524 251906245 
Expected Output
1762806933
Your Output
2036312365
Difference
Generator Parameters
--t_high 1 --t_low 1 --n_high 7 --val_high 1000000000 --val_low 100000000