Result

WA

Duration

461ms

Code [DL]

tr '
' \ |awk '{for(;i<10;)$i-=$(i++%3+10);print(($2*$4-$1*$5)*$9+($3*$5-$2*$6)*$7+($1*$6-$3*$4)*$8)/6}'

stdin

56 56 89
42 69 38
08 12 03
06 31 93

stdout

0

stderr

strace