Ticket 1432
Problem 1649 -d
Submission 148954472
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
2 39
31 10 
8 3
2 3 3 1 1 3 3 1 
9 69
32 61 49 30 63 39 5 47 1 
3 7
3 1 1 
4 13
8 6 13 7 
9 55
10 45 27 24 42 20 51 32 35 
9 15
3 14 13 12 10 8 15 5 1 
4 85
68 35 51 16 
Expected Output
No
Yes
No
Yes
No
No
No
No
Your Output
No
No
No
Yes
No
No
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