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