软件工程马搏 edited 3 年,9 月前
This is a past version of blog 保留位数
include
include
include
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;
}
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;
}