#题外话(第11篇博客)
#先看题目
题目链接https://www.luogu.com.cn/problem/P3954
#思路
非常简单的一道顺序结构题,没啥思路
#代码
#include<bits/stdc++.h>
using namespace std;
int main()
{
double a,b,c,ans;
cin>>a>>b>>c;
ans=a*0.2+b*0.3+c*0.5;
cout<<ans;
return 0;
}
#题外话(第11篇博客)
#先看题目
题目链接https://www.luogu.com.cn/problem/P3954
#思路
非常简单的一道顺序结构题,没啥思路
#代码
#include<bits/stdc++.h>
using namespace std;
int main()
{
double a,b,c,ans;
cin>>a>>b>>c;
ans=a*0.2+b*0.3+c*0.5;
cout<<ans;
return 0;
}