wangjingxi_ @ 2024-07-28 19:41:56
#include<bits/stdc++.h>
using namespace std;
double a[10]={28.9,32.7,45.6,78,35,86.2,27.8,43,56,65};
int main()
{
double x,ans=0;
for(int i=1;i<=10;i++){
cin>>x;
ans+=a[i-1]*x;
}
cout<<ans;
}
by wangjingxi_ @ 2024-08-18 08:09:56
@Shenyufan13 关了