#include <iostream>
#include<cmath>
using namespace std;
int sroot(int x)
{
int c=sqrt(x);
return c;
}
long int sroot(long int y)
{
return sqrt(y);
}
double sroot(double z)
{
return sqrt(z);
}
int main()
{
int a=4;
long int b=10000;
double c=1.44;
cout<<sroot(a)<<" "<<sroot(b)<<" "<<sroot(c)<<endl;
return 0;
}
2.30
最新推荐文章于 2021-11-03 23:39:28 发布