Run ID:152922
提交时间:2026-05-06 14:51:16
#include<bits/stdc++.h> using namespace std; int main(){ int a[15]; double b[15]={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("%.1lf",s); return 0; }