Ticket 16652
Problem 1770 -a
Submission 187386373
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
1
2 2
2 1 
1 1 
Expected Output
3
Your Output
2
Difference
Generator Parameters
--n_high 2 --m_high 2 --ai_high 2 --bi_high 1 --t_high 1