提交时间:2019-12-07 13:51:05
运行 ID: 2761
#include<iostream> using namespace std; int main(){ double a,a1,a2,a3,a4,a5,a6,a7,a8,a9,sum; cin>>a>>a1>>a2>>a3>>a4>>a5>>a6>>a7>>a8>>a9; sum=a*28.9+a1*32.7+a2*45.6+a3*78+a4*35+a5*86.2+a6*27.8+a7*43+a8*56+a9*65; printf("%.1lf",sum); return 0; }