摘要: 关于accumulate的用法(累加和累乘) 从1到10累加 #include <iostream> #include <numeric> using namespace std; template<class T> T product(T a[], int n) { T theProduct = 阅读全文
posted @ 2020-06-27 18:16 笑着的程序员 阅读(37) 评论(0) 推荐(0)