Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

the answer is the last result

Language: Layout:
- ] Show input
Compilation time: 0.24 sec, absolute running time: 0.18 sec, cpu time: 0 sec, memory peak: 5 Mb, absolute service time: 0,59 sec 
edit mode |  history  | discussion
4
 -1  5
5
 -1  5 -2  3
8
 -1  5 -2  3 -1  1  3
10
 -1  5 -2  3 -1
  1 -2  5 -3  5
16
 -1  5 -2  3 -1  1
  1 -2  5 -3  5  5
18
 -1  5 -2  3 -1  1  3
  1 -2  5 -3  5  5 -1
19
 -1  5 -2  3 -1  1  3 -3
  1 -2  5 -3  5  5 -1  4
24
 -1  5 -2  3 -1  1
  1 -2  5 -3  5  5
 -2  5  2 -5  5  3
28
 -1  5 -2  3 -1  1  3
  1 -2  5 -3  5  5 -1
 -2  5  2 -5  5  3  2
32
 -1  5 -2  3 -1  1  3 -3
  1 -2  5 -3  5  5 -1  4
 -2  5  2 -5  5  3  2  3
34
  5 -2  3 -1  1  3 -3
 -2  5 -3  5  5 -1  4
  5  2 -5  5  3  2  3
-----------end---------------