by@kuromunori
WA
1307ms
$a =(Read-Host).Sprit(" ")
$b=@()
$b+=(Read-Host)-$a
$b+=(Read-Host)-$a
$b+=(Read-Host)-$a
60 06 88 13 53 32 90 10 94 23 25 15
60 06 88 13 53 32 90 10 94 23 25 15
Method invocation failed because [System.String] does not contain a method named 'Sprit'.
At line:1 char:1
+ $a =(Read-Host).Sprit(" ")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : MethodNotFound
Cannot convert value "13 53 32" to type "System.Int32". Error: "Input string was not in a correct format."
At line:3 char:1
+ $b+=(Read-Host)-$a
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvalidCastFromStringToInteger
Cannot convert value "90 10 94" to type "System.Int32". Error: "Input string was not in a correct format."
At line:4 char:1
+ $b+=(Read-Host)-$a
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvalidCastFromStringToInteger
Cannot convert value "23 25 15" to type "System.Int32". Error: "Input string was not in a correct format."
At line:5 char:1
+ $b+=(Read-Host)-$a
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvalidCastFromStringToInteger