Ticket 2059
Problem 1648 -c
Submission 149566372
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 7
9 3 
9 9 8 1 8 6 7 
Expected Output
2
Your Output
3
Difference
Generator Parameters
--m_cap 200000 --m_high 7 --m_low 1 --n_cap 200000 --n_high 7 --n_low 1 --val_cap 200000 --val_high 9 --val_low 1