Run ID:152926
提交时间:2026-05-06 14:56:46
#include<bits/stdc++.h> using namespace std; int main(){ float a[10]; float b[10]={28.9,32.7,45.6,78,35,86.2,27.8,43,56,65},s=0; for(int i=0;i<10;i++){ cin>>a[i]; } for(int i=0;i<10;i++){ s+=a[i]*b[i]; } printf("%.1f\n",s); return 0; }