Result

AC

Duration

683ms

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

32 02 04
55 43 61
85 02 68
35 55 15

stdout

11011

stderr

strace