Result

WA

Duration

864ms

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][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

38 26 69
04 09 09
06 64 05
17 35 10

stdout

stderr

/usr/lib/node_modules/nadesiko3/src/nako_parser3.js:560
        throw new NakoSyntaxError(`『${name}』への代入文で計算式に書き間違いがあります。`, word.line)
        ^

Error: [文法エラー](3): 『t』への代入文で計算式に書き間違いがあります。
    at NakoParser.yLet (/usr/lib/node_modules/nadesiko3/src/nako_parser3.js:560:15)
    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:56: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)
    at NakoParser.ySentenceList (/usr/lib/node_modules/nadesiko3/src/nako_parser3.js:35:22)

strace