Result

WA

Duration

704ms

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]@5*[email protected])[email protected]([email protected]*[email protected]@3*[email protected])[email protected]([email protected]*[email protected]@4*[email protected]))/6と表示

stdin

56 18 10
28 44 46
08 04 50
58 59 91

stdout

stderr

/usr/lib/node_modules/nadesiko3/src/nako_parser3.js:704
      throw new NakoSyntaxError('(...)の解析エラー。『' + this.nodeToStr(v) + '』の近く', t.line)
      ^

Error: [文法エラー](9): (...)の解析エラー。『『ref_array』』の近く
    at NakoParser.yValueKakko (/usr/lib/node_modules/nadesiko3/src/nako_parser3.js:704:13)
    at NakoParser.yValue (/usr/lib/node_modules/nadesiko3/src/nako_parser3.js:717:38)
    at NakoParser.yGetArg (/usr/lib/node_modules/nadesiko3/src/nako_parser3.js:207:23)
    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.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)

strace