Result

WA

Duration

525ms

Code [DL]

ssss["x:x.replace(' ',',')"m["x:[map(int,y.split(',')) for y in x]"m"x:[
[x[1][0]-x[0][0],x[1][1]-x[0][1],x[1][2]-x[0][2]],
[x[2][0]-x[0][0],x[2][1]-x[0][1],x[2][2]-x[0][2]],
[x[3][0]-x[0][0],x[3][1]-x[0][1],x[3][2]-x[0][2]]]"m0&

stdin

56 07 18
73 64 83
88 22 77
50 67 16

stdout

[[17, 57, 65], [32, 15, 59], [-6, 60, -2]]

stderr

strace