Ticket 15796
Problem 1705 -e
Submission 164536305
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
8 5
9 3 9 9 8 1 8 6 
5 1
5 2
3 9
5 5
3 2
Expected Output
10
10
10
10
10
Your Output
10
10
10
10
9
Difference
Generator Parameters
--l_high 9 --l_low 1 --n_high 9 --n_low 2 --q_high 9 --q_low 1 --val_high 9 --val_low 1