Result

WA

Duration

1244ms

Code [DL]

$a =(Read-Host).Split()
$b =(Read-Host).Split()
$c =(Read-Host).Split()
$d =(Read-Host).Split()
$x=@()
$y=@()
$z=@()
foreach($i in 0..2){
$x+=$b[$i]-$a[$i]
$y+=$c[$i]-$a[$i]
$z+=$d[$i]-$a[$i]
}

echo($x[0])
echo($y[1])
echo($z[2])
echo(($x[0]*$y[1]))

stdin

45 39 24
82 82 71
11 39 04
06 04 21

stdout

45 39 24
82 82 71
11 39 04
06 04 21
37
0
-3
0

stderr

strace