Ticket 16918
Problem 1672 -d
Submission 212062957
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
9
1
1 
1 
3
2 3 3 
3 3 2 
4
1 1 3 3 
3 3 1 1 
6
5 2 4 4 2 4 
5 4 2 2 4 4 
7
2 1 2 7 3 1 6 
2 3 7 1 6 1 2 
5
1 5 5 4 2 
5 1 2 5 4 
3
3 2 1 
2 3 1 
7
7 6 2 4 1 2 5 
6 2 5 1 2 7 4 
5
3 5 4 3 1 
3 3 4 5 1 
Expected Output
YES
NO
NO
YES
NO
NO
NO
NO
NO
Your Output
YES
NO
NO
NO
NO
NO
NO
NO
NO
Difference
Generator Parameters
--n_high 9 --n_low 1 --t_high 10 --t_low 1