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