#include<bits/stdc++.h>/**2071**/
using namespace std;
int main()
{
int x,y;
double num;
cin>>x>>y;
num=x*87+y*85;
num=num/(x+y);
cout<<num<<endl;
return 0;
}
#include <bits/stdc++.h>/**2073**/
using namespace std;
int main()
{
double a, b, c, p;
cin >> a >> b >> c;
p = (a+b+c)/2;
cout << fixed << setprecision(3) << sqrt(p*(p-a)*(p-b)*(p-c));
return 0;
}
c++奥赛一本通2071 2073答案(点关注,不迷路,还有更多免费小程序等着你)
最新推荐文章于 2023-10-30 14:55:01 发布