Result

WA

Duration

716ms

Code [DL]

a=[]
f=[]
i=-2
標準入力取得した時には(s)
sを" "で区切る
i=i+1
もしi<0ならf=_
違えば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

83 80 90
79 98 79
69 11 10
09 35 48

stdout

stderr

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

Error: [文法エラー](7): 『f』への代入文で計算式に書き間違いがあります。
    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.yIF (/usr/lib/node_modules/nadesiko3/src/nako_parser3.js:180:24)
    at NakoParser.ySentence (/usr/lib/node_modules/nadesiko3/src/nako_parser3.js:50:39)
    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)

strace