Result

WA

Duration

491ms

Code [DL]

VGJ:let l=map(split(getline(1),' '),'str2nr').:for i in range(9).let l[i]-=l[9+i%3].endfor.cc.=(l[8]*(l[4]*l[0]-l[1]*l[3])-l[7]*(l[0]*l[5]-l[2]*l[3])+l[6]*(l[1]*l[5]-l[4]*l[2]))/6..ZZ

stdin

96 11 13
65 71 85
22 59 25
03 02 08

stdout

96 11 13
65 71 85
22 59 25
03 02 08

stderr