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