This sums up every integer in a vector, rejecting the sum if a negative element is encountered: let v = vec![1, ...
確定! 回上一頁