Ticket 17395
Problem 1763 -b
Submission 1
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
5 2
9 9 9 1 8 
2 1 3 4 3 
6 2
8 7 9 7 1 1 
4 2 8 6 9 9 
Expected Output
NO
NO
Your Output
YES
NO
Difference
Generator Parameters
--h_high 9 --h_low 1 --k_high 9 --k_low 1 --n_high 9 --n_low 1 --p_high 9 --p_low 1 --t_high 2 --t_low 1