Result

WA

Duration

1120ms

Code [DL]

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

stdin

07 08 04
60 07 39
33 98 62
91 17 85

stdout

stderr

Method invocation failed because [System.Management.Automation.Runspaces.PipelineReader`1+<GetReadEnumerator>d__20[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]] does not contain a method named 'Split'.
At line:2 char:1
+ $b =$Input.Split()
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : MethodNotFound
 
Method invocation failed because [System.Management.Automation.Runspaces.PipelineReader`1+<GetReadEnumerator>d__20[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]] does not contain a method named 'Split'.
At line:3 char:1
+ $c =$Input.Split()
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : MethodNotFound
 
Method invocation failed because [System.Management.Automation.Runspaces.PipelineReader`1+<GetReadEnumerator>d__20[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]] does not contain a method named 'Split'.
At line:4 char:1
+ $d =$Input.Split()
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : MethodNotFound
 
Cannot index into a null array.
At line:9 char:1
+ $x+=$b[$i]-$a[$i]
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:10 char:1
+ $y+=$c[$i]-$a[$i]
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:11 char:1
+ $z+=$d[$i]-$a[$i]
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:9 char:1
+ $x+=$b[$i]-$a[$i]
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:10 char:1
+ $y+=$c[$i]-$a[$i]
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:11 char:1
+ $z+=$d[$i]-$a[$i]
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:9 char:1
+ $x+=$b[$i]-$a[$i]
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:10 char:1
+ $y+=$c[$i]-$a[$i]
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 
Cannot index into a null array.
At line:11 char:1
+ $z+=$d[$i]-$a[$i]
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
 

strace