Ticket 6522
Problem 1658 -d2
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
1
0 3
5 6 4 7 
Expected Output
4
Generator Parameters
--l_high 9 --l_low 0 --r_high 9 --r_low 0 --t_high 1 --t_low 1 --x_high 9 --x_low 0