Ani | 10.ноя.2016 в 22:32:48 | |
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.
|
imesecan | 11.ноя.2016 в 18:15:31 | |
1 | From any cell with the value x, you can move to any adjacent cell with the cell value x+1
|
Ani | 11.ноя.2016 в 22:56:58 | |
2 | Start cell is a cell with the value 1. Target cell is greater than 1
|
aoshafi14 | 12.ноя.2016 в 14:41:08
|
3 | Сообщение скрыто
|
imesecan | 12.ноя.2016 в 15:14:11 | |
4 | There is always one 1 in the list and there is always a path from 1 to the target.
|
imesecan | 13.ноя.2016 в 12:40:58 | |
5 | 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).
|
imesecan | 13.ноя.2016 в 12:41:57 | |
6 | There is only one 1 in the samples.
|
imesecan | 13.ноя.2016 в 14:04:34 | |
7 | Yes adjacent means in four directions: Right, left, up or down.
|