C++题解之(A7816.)勾股定理
2025-08-31 14:16:31
发布于:浙江
5阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
double a,b;
cin>>a>>b;
cout<<fixed<<setprecision(2)<<sqrt(pow(a,2)+pow(b,2));
return 0;
}
这里空空如也
2025-08-31 14:16:31
发布于:浙江
#include<bits/stdc++.h>
using namespace std;
int main(){
double a,b;
cin>>a>>b;
cout<<fixed<<setprecision(2)<<sqrt(pow(a,2)+pow(b,2));
return 0;
}
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个