Result

AC

Duration

715ms

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]@5*[email protected])[email protected]*([email protected]*[email protected]@3*[email protected])[email protected]*([email protected]*[email protected]@4*[email protected]))/6と表示

stdin

11 50 59
82 08 07
87 96 24
09 08 78

stdout

29432

stderr

strace