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