Ticket 17506
Problem 1982 -c
Submission 319885568
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 8 9
2 1 5 7 6 9 8 5 
2 2 4
3 5 
Expected Output
3
1
Your Output
4
1
Difference
Generator Parameters
--l_or_r_high 9 --l_or_r_low 1 --n_high 9 --n_low 1 --t_high 2 --t_low 1 --val_high 9 --val_low 1