Result

AC

Duration

726ms

Code [DL]

a=[]
f=[]
i=-2
標準入力取得した時には(s)
t=sを「 」で区切る
i=i+1
もしi=(-1)なら
 f=t
違えば
 a[3*i][email protected]@0
 a[3*i+1][email protected]@1
 a[3*i+2][email protected]@2
 もしi=2なら
  (([email protected]*[email protected]*[email protected][email protected]*[email protected]*[email protected][email protected]*[email protected]*[email protected]@2*[email protected]*[email protected]@1*[email protected]*[email protected]@0*[email protected]*[email protected])/6)と表示

stdin

99 26 79
08 81 91
27 94 70
88 05 82

stdout

7180

stderr

strace