Ticket 1211
Problem 1649 -d
Submission 148697949
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
6
6 6
3 3 1 6 6 5 
6 36
18 17 17 3 18 31 
7 36
2 1 28 10 22 7 1 
8 56
4 24 22 4 10 14 18 1 
4 66
25 40 15 1 
6 76
14 74 45 1 54 58 
Expected Output
No
No
No
No
No
No
Your Output
Yes
No
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