Result

WA

Duration

570ms

Code [DL]

a=require('fs').readFileSync(s=0).split(/\s/)
for(z=9;t=z--;s-=z<3&&a[z]*(a[p=3+t++%3]*a[q=6+t%3]-a[q-3]*a[p+3]))a[z]-=a[9+z%3]
console.log(s/6)

stdin

80 27 09
17 33 43
01 98 09
01 02 45

stdout

stderr

/volume/CODE:1
(function (exports, require, module, __filename, __dirname) { a=require('fs').readFileSync(s=0).split(/\s/)
                                                                                                ^

TypeError: require(...).readFileSync(...).split is not a function
    at Object.<anonymous> (/volume/CODE:1:97)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
    at Function.Module.runMain (module.js:676:10)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3