There is a contest! | В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.
|
|
imesecan | Mar.09.2017 at 06:07:51 PM | |
0 | There may be shorter paths, but pay attention that the question asks for the longest path.
--- Test 1 --- 10 10 6 9 4 6 3 9 10 6 1 8 9 4 9 1 3 2 5 1 6 1 8
--- Pattern --- 4
|
imesecan | Mar.25.2017 at 01:29:01 PM | |
1 | --- Test 1 --- 25 20 18 1 7 4 7 5 20 5 24 6 5 7 20 8 15 8 21 8 22 10 8 12 8 13 25 14 21 14 25 15 12 17 16 18 22 19 20 22 10 25 17
--- Pattern --- 5
|
|