文章目录 问题 解释 参考资料 问题 见输入输出编程题:计算一系列数的和 有篇答案如下: #include <string> #include <iostream> #include <vector> #include <cmath> #include <algorithm> using namespace std; using ll = long long; int main