2022年8月18日 — Another Method: Using STL Calling inbuilt function for sum of elements of an array in STL. accumulate(first, last, sum);
確定! 回上一頁