Result

WA

Duration

703ms

Code [DL]

i=-2
a=空配列
標準入力取得した時には(s)
t=sを文字列分解
tを表示
sを表示
i=i+1
もしi=(-1)なら
 f=(ASC([email protected])-ASC0)*10+(ASC([email protected])-ASC0)
 g=(ASC([email protected])-ASC0)*10+(ASC([email protected])-ASC0)
 h=(ASC([email protected])-ASC0)*10+(ASC([email protected])-ASC0)
違えば
 a[3*i]=(ASC([email protected])-ASC0)*10+(ASC([email protected])-ASC0)-f
 a[3*i+1]=(ASC([email protected])-ASC0)*10+(ASC([email protected])-ASC0)-g
 a[3*i+2]=(ASC([email protected])-ASC0)*10+(ASC([email protected])-ASC0)-h
 もし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 83 23
04 23 43
32 62 07
13 05 79

stdout

[ '3', '2', ' ', '8', '3', ' ', '2', '3' ]
32 83 23
[ '0', '4', ' ', '2', '3', ' ', '4', '3' ]
04 23 43
[ '3', '2', ' ', '6', '2', ' ', '0', '7' ]
32 62 07
[ '1', '3', ' ', '0', '5', ' ', '7', '9' ]
13 05 79
NaN

stderr

strace