HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Forums > Discussion of problems > topic:


Problem "Number of Nodes"

There is a contest!

В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.

imesecanDec.01.2016 at 06:33:04 PM
0--- Test 1 ---
12 0 Right
6
0
18
8
5
9
9
4
6
1
3
15

--- Pattern ---
4

imesecanDec.02.2016 at 03:52:28 PM
1Any node and a direction (Right or left) may be given,
You will find that node in the tree, and you will count the nodes in the given direction.

Pay attention that, the searching number may be not in the list.


www.contester.ru