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