by@kuromunori
WA
1304ms
$a =(Read-Host) $b=@() $b+=(Read-Host)-$a $b+=(Read-Host)-$a $b+=(Read-Host)-$a
87 79 01 23 56 38 54 26 16 50 84 56
87 79 01 23 56 38 54 26 16 50 84 56
Cannot convert value "23 56 38" 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 "54 26 16" 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 "50 84 56" 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