Ticket 15344
Problem 1695 -d1
Submission 162640782
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
2
9
1 5
6 3
5 7
4 8
2 9
2 4
5 9
3 9
9
2 5
5 9
9 7
7 3
8 4
6 8
1 9
8 9
Expected Output
2
3
Your Output
3
3
Difference
Generator Parameters
--n_high 9 --n_low 1 --t_high 2 --t_low 1