Result

WA

Duration

704ms

Code [DL]

i=-2
a=空配列
標準入力取得した時には(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)
 fを表示
違えば
 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
 aを表示
 もし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

60 47 83
34 04 05
67 39 71
13 02 65

stdout

NaN
[ NaN, NaN, NaN ]
[ NaN, NaN, NaN, NaN, NaN, NaN ]
[ NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN ]
NaN

stderr

strace