Ticket 16510
Problem 1475 -d
Submission 183354134
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
2 71
10 7 
2 2 
8 93
6 9 3 33 23 2 31 38 
1 1 1 1 2 2 2 2 
Expected Output
-1
5
Your Output
-1
6
Difference
Generator Parameters
--ai_high 40 --ai_low 1 --bi_high 2 --bi_low 1 --m_high 100 --m_low 1 --n_high 10 --n_low 1 --t_high 2 --t_low 1