Result

AC

Duration

689ms

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

40 71 98
05 06 19
17 54 15
16 26 09

stdout

5302

stderr

strace