Ticket 15984
Problem 1716 -e
Submission 167008625
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
-1 1 1 0 
1
1
Expected Output
1
Your Output
2
Difference
Generator Parameters
--n_high 2 --n_low 1 --q_high 1 --q_low 1 --val_high 1 --val_low -1