Ticket 16671
Problem 1767 -c
Submission 188157981
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
5
0 2 2 2 0 
0 1 2 0 
1 2 2 
0 2 
1 
Expected Output
2
Your Output
4
Difference
Generator Parameters
--n_high 9 --n_low 2