Result

WA

Code [DL]

A=[1 2 3]
disp(A(-1))

stdin

01001011
11001101
01010011
11111101
00110101
00101011
00000001
00000011
00100100
11100111
11101110
10100101
00001111
01101001
01001000
00000110
01001110
11011001
00011100
01101101
11000100
00101000
11110110
10010000
00000101
11010010
01101100
10101011
00000000
11110100
10000101
10101011
01011110
01000010
01101000
00010101
10011001
00111101
01111000
10111110
11011011
10001000
00101101
01011010
01011011
11100111
01010000
11101001
00001010
00110111

stdout

A =

   1   2   3

stderr

octave: X11 DISPLAY environment variable not set
octave: disabling GUI features
error: A(-1): subscripts must be either integers 1 to (2^31)-1 or logicals
error: execution exception in /volume/CODE

strace