Result

AC

Duration

531ms

Code [DL]

@z=glob`dd`;$A+=(@z[$_]-=@z[$_+3])*($_>5?@z[++$_%3+3]*@z[$t=($_+1)%3]-@z[$_%3]*@z[$t+3]:0)for 0..8;print$A/6

stdin

17 95 05
26 25 62
68 04 67
77 15 97

stdout

19332

stderr

0+1 records in
0+1 records out

strace