Ticket 16535
Problem 1689 -c
Submission 183786822
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
15
1 2
2 3
3 4
4 5
2 6
6 7
7 8
1 9
9 10
10 11
11 12
9 13
13 14
14 15
Expected Output
9
Your Output
8
Difference
Generator Parameters
--n_high 15 --n_low 15 --t_high 100 --t_low 100