Ticket 8543
Problem 1671 -c
Submission 158777526
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
10
2 9
4 9 
3 9
8 3 6 
4 1
8 10 9 9 
4 8
7 6 9 5 
3 1
4 10 10 
5 6
9 1 4 7 4 
4 6
9 1 2 2 
5 2
7 4 2 5 1 
1 10
2 
3 4
2 10 2 
Expected Output
6
8
0
4
0
7
9
2
9
4
Your Output
7
9
0
7
0
10
10
6
9
5
Difference
Generator Parameters
--n_high 5 --n_low 1 --t_high 10 --t_low 10 --val_high 10 --val_low 1 --x_high 10 --x_low 1