Ticket 15871
Problem 1705 -e
Submission 164657000
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
7 9
8 1 5 4 7 9 3 
5 8
2 2
6 5
2 2
2 5
7 4
7 3
1 7
3 5
Expected Output
10
10
9
9
9
9
9
8
8
Your Output
10
10
9
9
9
9
9
5
5
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