HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Forums > Discussion of problems > topic:


Problem "Decoding the Path"

There is a contest!

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

AniNov.10.2016 at 10:32:48 PM
0---- Test 1 ----
5 5 5
1 2 -1 -2 0
2 3 4 -1 -1
3 4 5 6 7
4 -1 6 7 8
5 6 7 8 9

---- Pattern ----
There are several correct patterns.
You can print any of them.

imesecanNov.11.2016 at 06:15:31 PM
1
(1: bpengili15)
From any cell with the value x, you can move to any adjacent cell with the cell value x+1

AniNov.11.2016 at 10:56:58 PM
2
(3: gzeqiri14)
Start cell is a cell with the value 1. Target cell is greater than 1

aoshafi14Nov.12.2016 at 02:41:08 PM
3Сообщение скрыто

imesecanNov.12.2016 at 03:14:11 PM
4There is always one 1 in the list and there is always a path from 1 to the target.

imesecanNov.13.2016 at 12:40:58 PM
5
(8: Edena)
As far as I see, the text is OK. The first number is the x coordinate (columns) and the second number is y coordinate (rows).

imesecanNov.13.2016 at 12:41:57 PM
6
(9: Edena)
There is only one 1 in the samples.

imesecanNov.13.2016 at 02:04:34 PM
7
(12: Edena)
Yes adjacent means in four directions: Right, left, up or down.


www.contester.ru