Ticket 13522
Problem 1690 -e
Submission 161317447
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
8 8
42 42 7 14 92 0 98 52 
2 2
79 83 
Expected Output
43
81
Your Output
42
81
Difference
Generator Parameters
--half_n_high 4 --half_n_low 1 --k_high 9 --k_low 1 --t_high 2 --t_low 1 --val_high 99 --val_low 0