Result

AC

Duration

986ms

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

09 57 15
90 79 06
08 80 73
09 47 09

stdout

5930

stderr

strace