Ticket 15647
Problem 1280 -d
Submission 163753815
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 2
2 0 1 2 
1 1 1 1 
3 2
3 1
4 3
Expected Output
1
Your Output
0
Difference
Generator Parameters
--b_high 2 --b_low 0 --n_high 4 --n_low 4 --t_high 1 --t_low 1 --w_high 1 --w_low 0