Ticket 429
Problem 1638 -c
Submission 146638434
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
7
1 4 6 7 2 5 3 
3
2 3 1 
1
1 
Expected Output
2
1
1
Your Output
1
1
1
Difference
Generator Parameters
--n_cap 100000 --n_high 7 --n_low 1 --t_cap 100000 --t_high 5 --t_low 1