Ticket 977
Problem 1649 -d
Submission 148599500
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
7
6 31
13 28 24 7 11 17 
4 38
31 38 30 1 
7 45
10 36 27 43 38 13 1 
2 33
7 33 
6 56
3 2 38 28 35 1 
8 90
53 70 60 32 50 68 64 7 
6 67
8 56 40 25 39 1 
Expected Output
No
Yes
No
No
No
No
No
Your Output
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