Result

WA

Duration

671ms

Code [DL]

a=[]
f=[]
i=-2
標準入力取得した時には(s)
t=sを" "で区切る
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

06 57 17
51 54 40
28 83 41
45 51 79

stdout

stderr

/usr/lib/node_modules/nadesiko3/src/nako_parser3.js:218
        if (v === null) throw new NakoSyntaxError(`計算式で演算子『${op.value}』後に値がありません`, value1.line)
                        ^

Error: [文法エラー](6): 計算式で演算子『-』後に値がありません
    at NakoParser.yGetArg (/usr/lib/node_modules/nadesiko3/src/nako_parser3.js:218:31)
    at NakoParser.yCall (/usr/lib/node_modules/nadesiko3/src/nako_parser3.js:521:22)
    at NakoParser.accept (/usr/lib/node_modules/nadesiko3/src/nako_parser_base.js:121:19)
    at NakoParser.ySentence (/usr/lib/node_modules/nadesiko3/src/nako_parser3.js:58:14)
    at NakoParser.accept (/usr/lib/node_modules/nadesiko3/src/nako_parser_base.js:121:19)
    at NakoParser.yBlock (/usr/lib/node_modules/nadesiko3/src/nako_parser3.js:68:17)
    at NakoParser.yMumeiFunc (/usr/lib/node_modules/nadesiko3/src/nako_parser3.js:442:24)
    at NakoParser.yCall (/usr/lib/node_modules/nadesiko3/src/nako_parser3.js:491:26)
    at NakoParser.accept (/usr/lib/node_modules/nadesiko3/src/nako_parser_base.js:121:19)
    at NakoParser.ySentence (/usr/lib/node_modules/nadesiko3/src/nako_parser3.js:58:14)

strace