Ticket 1247
Problem 1648 -b
Submission 148713422
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
5 9
3 9 9 8 1 
6 7
6 5 4 1 2 4 
6 4
3 2 3 2 4 1 
5 3
2 1 2 3 3 
8 5
2 3 4 3 3 3 5 2 
2 10
8 1 
1 4
1 
Expected Output
No
No
Yes
Yes
No
Yes
Yes
Your Output
Yes
No
Yes
Yes
No
Yes
Yes
Difference
Generator Parameters
--c_cap 1000000 --c_high 10 --c_low 1 --n_cap 1000000 --n_high 9 --n_low 1 --t_cap 10000 --t_high 9 --t_low 1