#include<bits/stdc++.h>
using namespace std;
int main(){
double a,b,c,sum=0;
cin>>a>>b>>c;
sum=8.5*a+5.6*b+6.2*c;
printf("%.1f",sum);
return 0;
}
1610
最新推荐文章于 2024-09-10 23:34:31 发布
#include<bits/stdc++.h>
using namespace std;
int main(){
double a,b,c,sum=0;
cin>>a>>b>>c;
sum=8.5*a+5.6*b+6.2*c;
printf("%.1f",sum);
return 0;
}