Result

WA

Duration

1382ms

Code [DL]

$a =[int](Read-Host).Split()
$b =[int](Read-Host).Split()
$c =[int](Read-Host).Split()
$d =[int](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(($b[0]*$c[1]))

stdin

94 83 99
19 34 14
78 33 90
27 06 45

stdout

94 83 99
19 34 14
78 33 90
27 06 45

stderr

Cannot convert the "System.String[]" value of type "System.String[]" to type "System.Int32".
At line:1 char:1
+ $a =[int](Read-Host).Split()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidArgument: (:) [], RuntimeException
+ FullyQualifiedErrorId : ConvertToFinalInvalidCastException
 
Cannot convert the "System.String[]" value of type "System.String[]" to type "System.Int32".
At line:2 char:1
+ $b =[int](Read-Host).Split()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidArgument: (:) [], RuntimeException
+ FullyQualifiedErrorId : ConvertToFinalInvalidCastException
 
Cannot convert the "System.String[]" value of type "System.String[]" to type "System.Int32".
At line:3 char:1
+ $c =[int](Read-Host).Split()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidArgument: (:) [], RuntimeException
+ FullyQualifiedErrorId : ConvertToFinalInvalidCastException
 
Cannot convert the "System.String[]" value of type "System.String[]" to type "System.Int32".
At line:4 char:1
+ $d =[int](Read-Host).Split()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidArgument: (:) [], RuntimeException
+ FullyQualifiedErrorId : ConvertToFinalInvalidCastException
 
Cannot index into a null array.
At line:6 char:1
+ $b[$i]-=$a[$i]
+ ~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:7 char:1
+ $c[$i]-=$a[$i]
+ ~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:8 char:1
+ $d[$i]-=$a[$i]
+ ~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:6 char:1
+ $b[$i]-=$a[$i]
+ ~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:7 char:1
+ $c[$i]-=$a[$i]
+ ~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:8 char:1
+ $d[$i]-=$a[$i]
+ ~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:6 char:1
+ $b[$i]-=$a[$i]
+ ~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:7 char:1
+ $c[$i]-=$a[$i]
+ ~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:8 char:1
+ $d[$i]-=$a[$i]
+ ~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:10 char:1
+ echo($b[0])
+ ~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:11 char:1
+ echo($c[1])
+ ~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:12 char:1
+ echo($d[2])
+ ~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:13 char:1
+ echo(($b[0]*$c[1]))
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 

strace