Result

WA

Duration

695ms

Code [DL]

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

13 06 16
59 14 18
51 61 26
92 06 36

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