数列的定义如下: 数列的第一项为n,以后各项为前一项的平方根,求数列的前m项的和。
#include<iostream>
#include <iomanip>
#include<cmath>
using namespace std;
int main()
{
int n,m;
double t,b,end;
数列的定义如下: 数列的第一项为n,以后各项为前一项的平方根,求数列的前m项的和。
#include<iostream>
#include <iomanip>
#include<cmath>
using namespace std;
int main()
{
int n,m;
double t,b,end;