Ticket 16858
Problem 1805 -e
Submission 206213773
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
6
2 1
5 2
3 4
3 5
6 3
5 2 2 5 5 9 
Expected Output
5
5
5
5
5
Your Output
5
0
5
0
5
Difference
Generator Parameters
--n_high 9 --n_low 2 --val_high 9 --val_low 1