Result

WA

Duration

466ms

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

73 10 01
01 89 46
14 07 48
61 43 64

stdout

0

stderr

strace