Ticket 17397
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
4 8
8 3 8 3 
3 7 3 1 
5 4
2 6 2 2 2 
2 3 2 8 6 
Expected Output
YES
NO
Your Output
YES
YES
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