Result

WA

Duration

1309ms

Code [DL]

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

stdin

99 81 44
03 27 92
05 30 02
94 16 16

stdout

99 81 44
03 27 92
05 30 02
94 16 16
0
1
2

stderr

Specified argument was out of the range of valid values.
Parameter name: times
At line:11 char:1
+ echo(($b[0]*$c[1]*$d[2]+$b[1]*$c[2]*$d[0]+$b[2]*$c[0]*$d[1])/6)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : OperationStopped: (:) [], ArgumentOutOfRangeException
+ FullyQualifiedErrorId : System.ArgumentOutOfRangeException
 

strace