Ticket 15977
Problem 1272 -d
Submission 166760372
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
3
1 2 1 
Expected Output
2
Your Output
1
Difference
Generator Parameters
--n_high 3 --n_low 2 --val_high 2 --val_low 1