Ticket 15942
Problem 1701 -c
Submission 165920122
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 2
2 1 
4 7
2 1 1 3 4 3 1 
6 6
6 5 3 5 3 6 
Expected Output
1
3
2
Your Output
1
2
2
Difference
Generator Parameters
--m_high 7 --m_low 1 --t_high 3 --t_low 1