Result

AC

Duration

703ms

Code [DL]

a=[]
f=[]i=-2
標準入力取得した時には(s)
t=sを" "で区切る
i=i+1
もしi<0なら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

03 09 78
87 39 12
20 81 08
35 93 33

stdout

39221

stderr

strace