Ticket 17280
Problem 1741 -e
Submission 242473766
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
11
3 1 3 1 8 5 2 1 3 8 1 
9
7 1 6 6 4 4 2 8 4 
Expected Output
YES
YES
Your Output
NO
YES
Difference
Generator Parameters
--answer_exists 0 --n_high 9 --n_low 1 --t_high 2 --t_low 1 --val_high 9 --val_low 1