Ticket 1290
Problem 1649 -d
Submission 148740680
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
8
8 86
77 76 64 50 28 17 65 1 
5 99
3 19 55 73 1 
7 98
93 95 11 85 40 35 73 
7 16
9 1 14 5 8 15 1 
3 9
1 2 1 
7 25
3 13 20 10 8 9 1 
4 40
5 6 29 1 
8 21
15 4 6 8 8 15 16 1 
Expected Output
No
No
No
No
Yes
No
No
No
Your Output
No
No
No
No
Yes
No
Yes
No
Difference
Generator Parameters
--c_cap 1000000 --c_high 99 --c_low 1 --n_cap 1000000 --n_high 9 --n_low 1 --t_cap 10000 --t_high 9 --t_low 1