保留位数

软件工程马搏 edited 3 年,9 月前

include

include

iomanip
using namespace std;
int main(void)
{ int a,b;
double c;
while(cin>>a>>b)
{c=sqrt(aa+bb);
cout<<setprecision(3)<<fixed<<c<<endl;

}

}

Past Versions

Comments