Ticket 11149
Problem 1690 -c
Submission 159779779
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
2
5
10 12 22 26 27 
36 47 72 82 92 
3
2 15 53 
81 88 97 
Expected Output
26 11 25 10 10 
79 7 9 
Your Output
11
88424340533254361
Difference
Generator Parameters
--n_high 9 --n_low 1 --t_high 2 --t_low 1 --val_high 99 --val_low 1