- 分享
sb
- 2023-8-7 15:49:54 @
#include <bits/stdc++.h>
using namespace std;
int main()
{
double n[10]={0},f[10]={28.9,32.7,45.6,78,35,86.2,27.8,43,56,65},a=0;
for(int i=0; i<10; i++)
{
cin>>n[i];
}
for(int j=0; j<10; j++)
{
a+=n[j]*f[j];
}
printf("%.1f",a);
return 0;
}
1 comments
-
刘羿延 LV 9 @ 2024-7-19 20:41:32
没事吧你 你才SB 你个老登
- 1