Ticket 14263
Problem 1690 -b
Submission 161656530
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
8
7 4 2 2 9 6 3 1 
4 1 0 0 6 3 0 0 
3
1 5 9 
0 1 6 
Expected Output
YES
NO
Your Output
YES
YES
Difference
Generator Parameters
--answer_exists 0 --n_high 9 --n_low 1 --simulation_count_high 5 --simulation_count_low 1 --t_high 2 --t_low 1 --val_high 9 --val_low 0