Ticket 16818
Problem 1814 -d
Submission 201175414
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
4 3
1 3 2 5 
3 2 8 4 
Expected Output
2
Your Output
1
Difference
Generator Parameters
--d_high 9 --d_low 1 --f_high 5 --f_low 1 --k_high 3 --k_low 0 --n_high 4 --n_low 2 --t_high 1 --t_low 1