Ticket 17055
Problem 1841 -d
Submission 218822785
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
5
3 4
0 3
0 1
1 2
3 4
Expected Output
1
Your Output
3
Difference
Generator Parameters
--l_or_r_high 4 --l_or_r_low 0 --n_high 5 --n_low 2 --t_high 1 --t_low 1