Result

WA

Duration

1019ms

Code [DL]

$a =(Read-Host).Split()
$b =(Read-Host).Split()
$c =(Read-Host).Split()
$d =(Read-Host).Split()
foreach($i in 0..2){
$b[$i]-=$a[$i]
$c[$i]-=$a[$i]
$d[$i]-=$a[$i]
}
echo($b[0])
echo($c[1])
echo($d[2])
echo(((int)$b[0] * $c[1]))

stdin

60 91 84
59 03 07
12 93 79
08 59 35

stdout

stderr

At line:13 char:12
+ echo(((int)$b[0] * $c[1]))
+            ~~
Unexpected token '$b' in expression or statement.
At line:13 char:12
+ echo(((int)$b[0] * $c[1]))
+            ~
Missing closing ')' in expression.
At line:13 char:25
+ echo(((int)$b[0] * $c[1]))
+                         ~
Unexpected token ')' in expression or statement.
At line:13 char:26
+ echo(((int)$b[0] * $c[1]))
+                          ~
Unexpected token ')' in expression or statement.
+ CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
 

strace