Ticket 16536
Problem 1006 -e
Submission 183784191
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
4 1
1 1 2 
4 1
Expected Output
4
Your Output
3
Difference
Generator Parameters
--n_high 4 --n_low 4 --q_high 1 --q_low 1