Идёт турнир! | В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.
|
|
imesecan | 20.июля.2015 в 09:37:19 | |
0 | --- Test 1 --- 14 4 2 1 5 7 3 1 4 7 8 2 1 3 2
--- Pattern --- 6
|
aruci16 | 30.дек.2016 в 14:35:00 | |
1 | The longest bitonic sequence is 1 3 4 7 8 2 1 so the output should be 7
|
imesecan | 30.дек.2016 в 15:03:34 | |
2 | The result of your sequence is 7. If you are referring to test 1, the answer is 6 (1 4 7 8 2 1). The question asks for sequential bitonic sequence, if you mean sub-sequential (where the numbers do not have to be in an adjacent manner, there may be other numbers between the numbers), then the answer is 7 (1 3 4 7 8 2 1 ).
|
|