Ticket 1844
Problem 1649 -d
Submission 149360178
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
65 20
2 12 20 20 2 4 12 12 18 4 11 3 3 13 16 6 6 15 1 10 14 13 5 14 6 2 15 7 17 19 5 6 13 18 2 14 8 16 13 7 18 17 16 16 9 11 2 10 4 18 12 19 20 2 16 8 18 19 9 19 19 1 5 9 1 
59 65
27 23 5 30 58 33 25 34 25 50 35 64 33 21 5 58 21 64 51 43 44 33 24 24 29 3 27 10 16 48 3 33 43 10 24 45 41 55 45 14 15 32 61 2 4 32 61 7 19 58 45 19 47 39 25 57 51 28 6 
3 84
3 55 1 
7 84
34 54 61 75 20 81 10 
57 82
20 32 45 78 39 16 73 82 14 42 35 13 18 30 4 56 50 72 76 32 31 36 63 73 67 77 68 16 79 6 58 2 63 81 42 37 76 73 33 76 35 8 6 78 8 50 35 66 16 72 5 33 34 63 35 50 28 
30 83
18 40 2 42 11 21 40 12 31 32 33 20 12 11 40 65 38 49 14 24 67 59 11 70 56 74 63 28 24 1 
Expected Output
Yes
No
No
No
No
No
Your Output
Yes
No
Yes
No
No
No
Difference
Generator Parameters
--c_cap 1000000 --c_high 100 --c_low 1 --n_cap 1000000 --n_high 100 --n_low 1 --t_cap 10000 --t_high 10 --t_low 1