题目链接:点击跳转 代码如下: #include<iostream> #include<iomanip> #include<cmath> using namespace std; int main(void) {