Ticket 2247
Problem 1649 -d
Submission 149632034
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
6 98
65 80 67 93 80 1 
3 98
29 30 41 
6 27
25 11 10 14 25 1 
4 56
20 36 25 23 
6 9
7 5 4 3 7 5 
2 76
11 1 
6 42
18 3 35 38 10 1 
9 59
7 9 52 19 46 2 38 54 1 
Expected Output
Yes
No
No
No
No
Yes
No
No
Your Output
Yes
No
Yes
No
No
Yes
No
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